Changed error check command for Qt auto build batch file.
This commit is contained in:
parent
210069b78a
commit
ba73c0b2f8
|
@ -49,7 +49,7 @@ cmake -DQT6=0 -DPUBLIC_RELEASE=%PUBLIC_RELEASE% -DSDL_INSTALL_PREFIX=%SDL_INSTAL
|
||||||
|
|
||||||
REM nmake
|
REM nmake
|
||||||
msbuild /m fceux.sln /p:Configuration=Release
|
msbuild /m fceux.sln /p:Configuration=Release
|
||||||
@if ERRORLEVEL 1 goto end
|
@if %ERRORLEVEL% NEQ 0 goto end
|
||||||
|
|
||||||
copy src\Release\fceux.exe bin\qfceux.exe
|
copy src\Release\fceux.exe bin\qfceux.exe
|
||||||
copy %PROJECT_ROOT%\src\auxlib.lua bin\.
|
copy %PROJECT_ROOT%\src\auxlib.lua bin\.
|
||||||
|
@ -70,16 +70,16 @@ dir bin
|
||||||
|
|
||||||
REM Create Zip Archive
|
REM Create Zip Archive
|
||||||
%PROJECT_ROOT%\vc\zip -X -9 -r %PROJECT_ROOT%\vc\%ZIP_FILENAME% bin
|
%PROJECT_ROOT%\vc\zip -X -9 -r %PROJECT_ROOT%\vc\%ZIP_FILENAME% bin
|
||||||
@if ERRORLEVEL 1 goto end
|
@if %ERRORLEVEL% NEQ 0 goto end
|
||||||
|
|
||||||
cd %PROJECT_ROOT%\output
|
cd %PROJECT_ROOT%\output
|
||||||
%PROJECT_ROOT%\vc\zip -X -9 -u -r %PROJECT_ROOT%\vc\%ZIP_FILENAME% palettes luaScripts tools
|
%PROJECT_ROOT%\vc\zip -X -9 -u -r %PROJECT_ROOT%\vc\%ZIP_FILENAME% palettes luaScripts tools
|
||||||
@if ERRORLEVEL 1 goto end
|
@if %ERRORLEVEL% NEQ 0 goto end
|
||||||
|
|
||||||
mkdir doc
|
mkdir doc
|
||||||
copy *.chm doc\.
|
copy *.chm doc\.
|
||||||
%PROJECT_ROOT%\vc\zip -X -9 -u -r %PROJECT_ROOT%\vc\%ZIP_FILENAME% doc
|
%PROJECT_ROOT%\vc\zip -X -9 -u -r %PROJECT_ROOT%\vc\%ZIP_FILENAME% doc
|
||||||
@if ERRORLEVEL 1 goto end
|
@if %ERRORLEVEL% NEQ 0 goto end
|
||||||
|
|
||||||
cd %PROJECT_ROOT%
|
cd %PROJECT_ROOT%
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue