Skip to content

Commit 045ff8d

Browse files
committed
[bat] colorize tests
1 parent 4fc3951 commit 045ff8d

2 files changed

Lines changed: 426 additions & 0 deletions

File tree

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
@echo off
2+
setlocal
3+
4+
title VSCode Dev
5+
6+
pushd %~dp0\..
7+
8+
:: Node modules
9+
if not exist node_modules call .\scripts\npm.bat install
10+
11+
:: Get electron
12+
node .\node_modules\gulp\bin\gulp.js electron
13+
14+
:: Build
15+
if not exist out node .\node_modules\gulp\bin\gulp.js compile
16+
17+
:: Configuration
18+
set NODE_ENV=development
19+
set VSCODE_DEV=1
20+
set ELECTRON_DEFAULT_ERROR_MODE=1
21+
set ELECTRON_ENABLE_LOGGING=1
22+
set ELECTRON_ENABLE_STACK_DUMPING=1
23+
24+
:: Launch Code
25+
.\.build\electron\electron.exe . %*
26+
popd
27+
28+
endlocal

0 commit comments

Comments
 (0)