Use local version of gulp in ./scripts/code.sh.

As with #3649 it removes the need for global installation of gulp.
This was already the case for the windows, in ./scripts/code.bat.
This commit is contained in:
Phillip Johnsen 2016-03-03 20:49:26 +01:00
parent 8e63756939
commit a3e4855bcc

View file

@ -14,10 +14,10 @@ function code() {
test -d node_modules || ./scripts/npm.sh install
# Get electron
node node_modules/gulp/bin/gulp.js electron
./node_modules/.bin/gulp electron
# Build
test -d out || gulp compile
test -d out || ./node_modules/.bin/gulp compile
# Configuration
export NODE_ENV=development