Skip to content

Commit

Permalink
feat(template-Makefile): update pip-compile order
Browse files Browse the repository at this point in the history
  • Loading branch information
m0wer committed Jan 23, 2022
1 parent 4e06a6a commit ea6b533
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,22 @@ install:
@echo "- Installing dependencies -"
@echo "---------------------------"
python -m pip install --upgrade setuptools pip pip-tools
python -m piptools sync requirements.txt requirements-dev.txt docs/requirements.txt
python -m piptools sync requirements.txt docs/requirements.txt requirements-dev.txt
pre-commit install

.PHONY: update
update:
@echo "-------------------------"
@echo "- Updating dependencies -"
@echo "-------------------------"
python -m piptools sync requirements.txt requirements-dev.txt docs/requirements.txt
python -m piptools sync requirements.txt docs/requirements.txt requirements-dev.txt

pip install --upgrade pip
pip-compile
pip-compile requirements-dev.in
pip-compile docs/requirements.in
pip-compile requirements-dev.in

python -m piptools sync requirements.txt requirements-dev.txt docs/requirements.txt
python -m piptools sync requirements.txt docs/requirements.txt requirements-dev.txt

.PHONY: clean
clean:
Expand Down

0 comments on commit ea6b533

Please sign in to comment.