File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,6 @@ docker-compose := if `command -v docker-compose; echo $?` == "0" {
4444# [halp] list available commands
4545default :
4646 just --list
47- @ echo {{ IMAGE}}
4847
4948# [init] install dependencies, tooling, and virtual environment
5049install args = CWD:
@@ -113,20 +112,22 @@ install args=CWD:
113112update-deps args = CWD:
114113 #!/usr/bin/env bash
115114 # set -euxo pipefail
116- find . -maxdepth 3 -name " pyproject.toml" -exec \
115+ args=$(realpath {{args}})
116+ find " ${args}" -maxdepth 3 -name " pyproject.toml" -exec \
117117 echo " [{}]" \; -exec \
118118 echo " Clearing pypi cache..." \; -exec \
119- poetry --directory {{ args}} cache clear --all pypi --no-ansi \; -exec \
120- poetry --directory {{ args}} update --lock --no-ansi \;
119+ poetry --directory " ${ args}" cache clear --all pypi --no-ansi \; -exec \
120+ poetry --directory " ${ args}" update --lock --no-ansi \;
121121
122122# [deps] export requirements.txt
123123export-reqs args = CWD: update-deps
124124 #!/usr/bin/env bash
125125 # set -euxo pipefail
126- find {{ CWD}} -maxdepth 3 -name " pyproject.toml" -exec \
126+ args=$(realpath {{args}})
127+ find " ${args}" -maxdepth 3 -name " pyproject.toml" -exec \
127128 echo " [{}]" \; -exec \
128129 echo " Exporting requirements.txt..." \; -exec \
129- poetry --directory {{ args}} export --no-ansi --without-hashes --output requirements.txt \;
130+ poetry --directory " ${ args}" export --no-ansi --without-hashes --output requirements.txt \;
130131
131132# [git] update git submodules
132133sub :
You can’t perform that action at this time.
0 commit comments