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:
@@ -1,5 +1,8 @@
|
|||||||
@ECHO OFF
|
@ECHO OFF
|
||||||
python build.py build
|
python build.py build
|
||||||
|
IF ERRORLEVEL 1 EXIT /B 1
|
||||||
call test.bat
|
call test.bat
|
||||||
|
IF ERRORLEVEL 1 EXIT /B 1
|
||||||
del test.bat
|
del test.bat
|
||||||
|
IF ERRORLEVEL 1 EXIT /B 1
|
||||||
PAUSE
|
PAUSE
|
||||||
|
|||||||
@@ -1,5 +1,8 @@
|
|||||||
@ECHO OFF
|
@ECHO OFF
|
||||||
python build.py deploy
|
python build.py deploy
|
||||||
|
IF ERRORLEVEL 1 EXIT /B 1
|
||||||
call test.bat
|
call test.bat
|
||||||
|
IF ERRORLEVEL 1 EXIT /B 1
|
||||||
del test.bat
|
del test.bat
|
||||||
|
IF ERRORLEVEL 1 EXIT /B 1
|
||||||
PAUSE
|
PAUSE
|
||||||
|
|||||||
@@ -1,5 +1,8 @@
|
|||||||
@ECHO OFF
|
@ECHO OFF
|
||||||
python build.py package
|
python build.py package
|
||||||
|
IF ERRORLEVEL 1 EXIT /B 1
|
||||||
call test.bat
|
call test.bat
|
||||||
|
IF ERRORLEVEL 1 EXIT /B 1
|
||||||
del test.bat
|
del test.bat
|
||||||
|
IF ERRORLEVEL 1 EXIT /B 1
|
||||||
PAUSE
|
PAUSE
|
||||||
|
|||||||
Reference in New Issue
Block a user