Batch script should fail if ninja fails
Change-Id: I29c1db5ff049cdb322fdbbf3552e11b4e9631755
This commit is contained in:
parent
fb0790e1d5
commit
baf28815f5
|
@ -27,7 +27,7 @@ call %DEPOTTOOLSDIR%\gclient sync
|
||||||
echo on
|
echo on
|
||||||
|
|
||||||
cd src
|
cd src
|
||||||
%DEPOTTOOLSDIR%\ninja -C "%OUTPUT_DIRECTORY%" -k 100
|
%DEPOTTOOLSDIR%\ninja -C "%OUTPUT_DIRECTORY%" -k 100 || exit /b 1
|
||||||
|
|
||||||
copy "%OUTPUT_DIRECTORY%\packager.exe" packager-win.exe
|
copy "%OUTPUT_DIRECTORY%\packager.exe" packager-win.exe
|
||||||
for %%f in ("%OUTPUT_DIRECTORY%\*_*test.exe") do (%%f || exit /b 666)
|
for %%f in ("%OUTPUT_DIRECTORY%\*_*test.exe") do (%%f || exit /b 666)
|
||||||
|
|
Loading…
Reference in New Issue