This commit is contained in:
2024-12-18 22:33:53 -05:00
parent 926d25a9cc
commit a3fe03b16f
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -64,6 +64,7 @@ if [[ ! -e $JJ_DATA_DIR/~~tmp/deps/bun-packages-installed ]] \
|| jjIsFileNewerFile "$JJ_WORKSPACE_DIR/package.json" "$JJ_DATA_DIR/~~tmp/deps/bun-packages-installed" \
|| jjIsFileNewerFile "$JJ_WORKSPACE_DIR/bun.lockb" "$JJ_DATA_DIR/~~tmp/deps/bun-packages-installed" \
; then
npm version patch --no-git-tag-version
pushd $JJ_WORKSPACE_DIR > /dev/null
bun install
@@ -75,6 +76,7 @@ fi
if [[ ! -e $JJ_DATA_DIR/~~tmp/deps/python-packages-installed ]] \
|| jjIsFileNewerFile "$JJ_WORKSPACE_DIR/requirements.txt" "$JJ_DATA_DIR/~~tmp/deps/python-packages-installed" \
; then
npm version patch --no-git-tag-version
pushd $JJ_WORKSPACE_DIR > /dev/null
pip install -r requirements.txt || pip3 install -r requirements.txt