File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed
Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change 88set dotenv-load
99
1010# set env var
11- export APP := ` echo ${APP } `
11+ export APP := ` echo ${APP_NAME } `
1212export CPU := ` echo ${CPU} `
1313export IMAGE := ` echo ${IMAGE} `
1414export MEM := ` echo ${MEM} `
@@ -37,6 +37,22 @@ docker-compose := if `command -v docker-compose; echo $?` == "0" {
3737default :
3838 just --list
3939
40+ # [deps] Update dependencies
41+ update-deps :
42+ #!/usr/bin/env bash
43+ # set -euxo pipefail
44+ find . -maxdepth 3 -name " pyproject.toml" -exec \
45+ echo " [{}]" \; -exec \
46+ poetry update --no-ansi --lock \;
47+
48+ # [deps] Export requirements.txt
49+ export-reqs : update-deps
50+ #!/usr/bin/env bash
51+ # set -euxo pipefail
52+ find . -maxdepth 3 -name " pyproject.toml" -exec \
53+ printf " %s\n\n " " [{}]" \; -exec \
54+ poetry export --no-ansi --without-hashes --output requirements.txt \;
55+
4056# [git] update git submodules
4157sub :
4258 git submodule update --init --recursive && git pull --recurse-submodules
You can’t perform that action at this time.
0 commit comments