Skip to content

Commit

Permalink
Merge pull request #30 from lyz-code/fix/automatic-dependencies-update
Browse files Browse the repository at this point in the history
ci: remove the requirements files to avoid conflicts
  • Loading branch information
lyz-code committed Dec 28, 2020
2 parents f25b0ed + d161d29 commit 02fe0c6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,18 @@ update:
@echo "- Updating dependencies -"
@echo "-------------------------"

rm requirements.txt
touch requirements.txt
pip-compile -Ur --allow-unsafe

rm docs/requirements.txt
touch docs/requirements.txt
pip-compile -Ur --allow-unsafe docs/requirements.in --output-file docs/requirements.txt

rm requirements-dev.txt
touch requirements-dev.txt
pip-compile -Ur --allow-unsafe requirements-dev.in --output-file requirements-dev.txt

pip install -r requirements-dev.txt

@echo ""
Expand Down

0 comments on commit 02fe0c6

Please sign in to comment.