adopt yarn in scripts

This commit is contained in:
Joao Moreno
2017-11-16 10:47:02 +01:00
parent 5d4d38543a
commit 4537783742
7 changed files with 7 additions and 39 deletions

View File

@@ -22,7 +22,7 @@ function code() {
INSTALLED_VERSION=`cat .build/electron/version 2> /dev/null`
# Node modules
test -d node_modules || ./scripts/npm.sh install
test -d node_modules || yarn
# Get electron
(test -f "$CODE" && [ $INTENDED_VERSION == $INSTALLED_VERSION ]) || ./node_modules/.bin/gulp electron