Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ if [[ "$1" == "cextrun" ]]; then

poetry install
if [[ "$RUNNING_MODE" == "local" ]] && [[ -f $EXTENSION_DIR/package.json ]]; then
test ! -L "node_modules" && ln -s /install_temp/node_modules .
test ! -d "node_modules" && test -d /install_temp/node_modules && ln -s /install_temp/node_modules .
npm run build --if-present
fi

Expand All @@ -45,7 +45,7 @@ if [[ "$1" == "extension-test" ]] || [[ "$1" == "extension-devel" ]]; then
poetry install

if [[ "$RUNNING_MODE" == "local" ]] && [[ -f $EXTENSION_DIR/package.json ]]; then
test ! -L "node_modules" && ln -s /install_temp/node_modules .
test ! -d "node_modules" && test -d /install_temp/node_modules && ln -s /install_temp/node_modules .
npm run build --if-present
fi
fi
Expand All @@ -55,7 +55,7 @@ if [[ "$1" == *bash* ]] && [[ "$#" -eq 1 ]] && [[ -f pyproject.toml ]]; then
poetry install

if [[ "$RUNNING_MODE" == "local" ]] && [[ -f $EXTENSION_DIR/package.json ]]; then
test ! -L "node_modules" && ln -s /install_temp/node_modules .
test ! -d "node_modules" && test -d /install_temp/node_modules && ln -s /install_temp/node_modules .
npm run build --if-present
fi

Expand Down