fix the bug that the build.bat scripts would not immediately stop when a part of the build fails

This commit is contained in:
MaysWind
2024-06-09 23:13:16 +08:00
parent d640b7a5f5
commit 435c38fb27
+9
View File
@@ -214,8 +214,17 @@ goto :pre_parse_args
echo Building package archive "%package_file_name%" (%RELEASE_TYPE%)...
call :build_backend
if !errorlevel! neq 0 (
goto :end
)
call :build_frontend
if !errorlevel! neq 0 (
goto :end
)
rmdir package /s /q
mkdir package
mkdir package\data