Add exit condition checking to build, deploy, package cmd files

Without the line checking the exit code, the script will not fail on a
failure from a subsystem.
This commit is contained in:
Vasily
2019-01-05 20:31:34 +01:00
parent 1df8e88e3d
commit 4787933a52
3 changed files with 9 additions and 0 deletions
+3
View File
@@ -1,5 +1,8 @@
@ECHO OFF
python build.py deploy
IF ERRORLEVEL 1 EXIT /B 1
call test.bat
IF ERRORLEVEL 1 EXIT /B 1
del test.bat
IF ERRORLEVEL 1 EXIT /B 1
PAUSE