Skip to content

Commit

Permalink
Remove NPM_CI_ARGS. Remove redundant gitignore entry
Browse files Browse the repository at this point in the history
  • Loading branch information
Ch00k committed Feb 26, 2021
1 parent 4223df0 commit 7de0deb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
/dist-assets/sslocal
/dist-assets/sslocal.exe
/dist-assets/shell-completions/
/gui/scripts/mi_proto/
/windows/**/bin/
/windows/**/*.user
/android/keystore.properties
Expand Down
9 changes: 1 addition & 8 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -217,14 +217,7 @@ pushd "$SCRIPT_DIR/gui"

echo "Installing JavaScript dependencies..."

# Add `--no-optional` flag when running on non-macOS environments because `npm ci` attempts to
# install optional dependencies that aren't even available on other platforms.
NPM_CI_ARGS=""
if [ "$(uname -s)" != "Darwin" ]; then
NPM_CI_ARGS+="--no-optional"
fi

npm ci $NPM_CI_ARGS
npm ci

################################################################################
# Package release.
Expand Down

0 comments on commit 7de0deb

Please sign in to comment.