compile before code

#22
This commit is contained in:
Joao Moreno 2015-11-26 10:07:11 +01:00
parent 072c788789
commit 0b6f18f623
2 changed files with 6 additions and 0 deletions

View file

@ -9,6 +9,9 @@ if not exist node_modules call .\scripts\npm.bat install
:: Get electron
node .\node_modules\gulp\bin\gulp.js electron
:: Build
if not exist out node .\node_modules\gulp\bin\gulp.js compile
:: Configuration
set NODE_ENV=development
set VSCODE_DEV=1

View file

@ -16,6 +16,9 @@ function code() {
# Get electron
node node_modules/gulp/bin/gulp.js electron
# Build
test -d out || gulp compile
# Configuration
export NODE_ENV=development
export VSCODE_DEV=1