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:
parent
ddf96f68cc
commit
02ef14bea2
5 changed files with 18 additions and 11 deletions
9
Makefile
9
Makefile
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue