Added update-requirements target

Manage requirements*.txt files by pip-tools
This commit is contained in:
Bastian Venthur
2025-04-01 10:07:07 +02:00
parent 8a275c0923
commit 00e02f13dc
4 changed files with 94 additions and 12 deletions

View File

@@ -53,6 +53,11 @@ update-pygmentize: $(VENV)
$(BIN)/pygmentize -f html -S default > blag/static/code-light.css
$(BIN)/pygmentize -f html -S monokai > blag/static/code-dark.css
.PHONY: update-requirements
update-requirements: $(VENV)
$(BIN)/pip-compile --upgrade --no-annotate --output-file requirements.txt
$(BIN)/pip-compile --upgrade --no-annotate --extra dev --output-file requirements-dev.txt
.PHONY: docs
docs: $(VENV)
$(BIN)/mkdocs build