Skip to content

Commit

Permalink
Split install deps from just vscode configure
Browse files Browse the repository at this point in the history
  • Loading branch information
dotNomad committed Mar 20, 2024
1 parent 213d7a1 commit 3d46737
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion extensions/vscode/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,26 @@ clean:
rm -rf node_modules
rm -rf out

configure os="$(just ../../os)" arch="$(just ../../arch)":
# Install dependencies
deps:
#!/usr/bin/env bash
set -eou pipefail
{{ _with_debug }}
if [ {{ _ci }} = "true" ]; then
npm ci --no-audit --no-fund | sed 's/^/debug: /'
else
npm install --no-audit --no-fund | sed 's/^/debug: /'
fi


configure os="$(just ../../os)" arch="$(just ../../arch)":
#!/usr/bin/env bash
set -eou pipefail
{{ _with_debug }}
just deps

echo "info: checking for compatible binary executable..." 1>&2
binary_executable=$(just ../../executable-path {{ os }} {{ arch }})
if ! [ -f "$binary_executable" ]; then
Expand Down

0 comments on commit 3d46737

Please sign in to comment.