Batch script should fail if ninja fails

Change-Id: I29c1db5ff049cdb322fdbbf3552e11b4e9631755
This commit is contained in:
Rintaro Kuroiwa 2017-04-18 14:45:07 -07:00
parent fb0790e1d5
commit baf28815f5
1 changed files with 1 additions and 1 deletions

View File

@ -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)