Skip to content

Commit 0b6f18f

Browse files
committed
compile before code
microsoft#22
1 parent 072c788 commit 0b6f18f

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

scripts/code.bat

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ if not exist node_modules call .\scripts\npm.bat install
99
:: Get electron
1010
node .\node_modules\gulp\bin\gulp.js electron
1111

12+
:: Build
13+
if not exist out node .\node_modules\gulp\bin\gulp.js compile
14+
1215
:: Configuration
1316
set NODE_ENV=development
1417
set VSCODE_DEV=1

scripts/code.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ function code() {
1616
# Get electron
1717
node node_modules/gulp/bin/gulp.js electron
1818

19+
# Build
20+
test -d out || gulp compile
21+
1922
# Configuration
2023
export NODE_ENV=development
2124
export VSCODE_DEV=1

0 commit comments

Comments
 (0)