summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrii Yurchuk <ay@mntw.re>2021-02-26 12:16:19 +0100
committerAndrii Yurchuk <ay@mntw.re>2021-02-26 19:03:01 +0100
commit0c093442ae4fe6701d45d18353160dc78e05249c (patch)
tree996bea79673ff07ff1f491932270186edc4285c0
parentec488538ac3f3ecdfd67eddd40df623580225a11 (diff)
downloadmullvadvpn-0c093442ae4fe6701d45d18353160dc78e05249c.tar.xz
mullvadvpn-0c093442ae4fe6701d45d18353160dc78e05249c.zip
Remove NPM_CI_ARGS. Remove redundant gitignore entry
-rw-r--r--.gitignore1
-rwxr-xr-xbuild.sh9
2 files changed, 1 insertions, 9 deletions
diff --git a/.gitignore b/.gitignore
index cad0409ccd..3cbba48396 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
diff --git a/build.sh b/build.sh
index b30e624773..efd97ed67e 100755
--- a/build.sh
+++ b/build.sh
@@ -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.