1
0
Fork 0
forked from forgejo/forgejo

Add make poetry-update, upgrade djlint (#25399)

[updates](https://github.com/silverwind/updates) now supports poetry as
well so we can use it for a new `make poetry-update` to update all
poetry dependencies.
This commit is contained in:
silverwind 2023-06-26 23:14:00 +02:00 committed by GitHub
parent ddf96f68cc
commit 02ef14bea2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 18 additions and 11 deletions

View file

@ -926,11 +926,18 @@ node_modules: package-lock.json
.PHONY: npm-update
npm-update: node-check | node_modules
npx updates -cu
npx updates -u -f package.json
rm -rf node_modules package-lock.json
npm install --package-lock
@touch node_modules
.PHONY: poetry-update
poetry-update: node-check | node_modules
npx updates -u -f pyproject.toml
rm -rf .venv poetry.lock
poetry install
@touch .venv
.PHONY: fomantic
fomantic:
rm -rf $(FOMANTIC_WORK_DIR)/build