mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-18 08:44:25 +08:00
fix the bug that the build.bat scripts would not immediately stop when a part of the build fails
This commit is contained in:
@@ -214,8 +214,17 @@ goto :pre_parse_args
|
|||||||
echo Building package archive "%package_file_name%" (%RELEASE_TYPE%)...
|
echo Building package archive "%package_file_name%" (%RELEASE_TYPE%)...
|
||||||
|
|
||||||
call :build_backend
|
call :build_backend
|
||||||
|
|
||||||
|
if !errorlevel! neq 0 (
|
||||||
|
goto :end
|
||||||
|
)
|
||||||
|
|
||||||
call :build_frontend
|
call :build_frontend
|
||||||
|
|
||||||
|
if !errorlevel! neq 0 (
|
||||||
|
goto :end
|
||||||
|
)
|
||||||
|
|
||||||
rmdir package /s /q
|
rmdir package /s /q
|
||||||
mkdir package
|
mkdir package
|
||||||
mkdir package\data
|
mkdir package\data
|
||||||
|
|||||||
Reference in New Issue
Block a user