diff options
| author | Cody Northrop <cnorthrop@google.com> | 2016-07-13 15:59:22 -0600 |
|---|---|---|
| committer | Cody Northrop <cnorthrop@google.com> | 2016-07-18 09:22:50 -0600 |
| commit | 7ed260f18f3c3610c6fc89b5c7ff6a4b79336c1d (patch) | |
| tree | 311b002dcf68dd66e7bb7059250aa616634f64a8 | |
| parent | 06dfa5386f3f49b25598f8fbfee0b978fa4a3a5e (diff) | |
| download | usermoji-7ed260f18f3c3610c6fc89b5c7ff6a4b79336c1d.tar.xz | |
windows: Return exit code from build script if any step fails
| -rw-r--r-- | build_windows_targets.bat | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/build_windows_targets.bat b/build_windows_targets.bat index 3844742c..eb132094 100644 --- a/build_windows_targets.bat +++ b/build_windows_targets.bat @@ -34,7 +34,7 @@ if %do_cmake%==0 ( if %do_32%==0 ( if %do_64%==0 ( echo No valid parameters specified. - exit /B 1 + exit 1 ) ) ) @@ -76,7 +76,7 @@ if %do_64%==1 ( echo. echo 64-bit Debug build failed! popd - exit /B 1 + exit 1 ) echo Building 64-bit Release @@ -85,7 +85,7 @@ if %do_64%==1 ( echo. echo 64-bit Release build failed! popd - exit /B 1 + exit 1 ) popd ) @@ -106,7 +106,7 @@ if %do_32%==1 ( echo. echo 32-bit Debug build failed! popd - exit /B 1 + exit 1 ) echo Building 32-bit Release @@ -115,8 +115,8 @@ if %do_32%==1 ( echo. echo 32-bit Release build failed! popd - exit /B 1 + exit 1 ) popd ) -exit /B 0 +exit 0 |
