Browse Source

Fix the compile script. it was a regression to remove `export`

master
Gaëtan Renaudeau 7 years ago
parent
commit
cd9259e1d7
  1. 9
      scripts/compile.sh

9
scripts/compile.sh

@ -2,11 +2,10 @@
set -e
GIT_REVISION=`git rev-parse HEAD`
SENTRY_URL=https://db8f5b9b021048d4a401f045371701cb@sentry.io/274561
NODE_ENV=production
export GIT_REVISION=`git rev-parse HEAD`
export SENTRY_URL=https://db8f5b9b021048d4a401f045371701cb@sentry.io/274561
rm -rf ./node_modules/.cache dist
JOBS=max yarn
yarn run webpack-cli --mode production --config webpack/internals.config.js
yarn run electron-webpack
NODE_ENV=production yarn run webpack-cli --mode production --config webpack/internals.config.js
NODE_ENV=production yarn run electron-webpack

Loading…
Cancel
Save