only disable console attachment when in TFS

This commit is contained in:
João Moreno 2016-03-03 17:20:48 +01:00
parent 5354309a24
commit 505e954a4f

View file

@ -1,7 +1,12 @@
@echo off
setlocal
set ATOM_SHELL_INTERNAL_RUN_AS_NODE=1
set ELECTRON_NO_ATTACH_CONSOLE=1
rem TFS Builds
if not "%BUILD_BUILDID%" == "" (
set ELECTRON_NO_ATTACH_CONSOLE=1
)
pushd %~dp0\..
.\.build\electron\electron.exe .\node_modules\mocha\bin\_mocha %*