diff --git a/pipelines/win32_build.bat b/pipelines/win32_build.bat index 7821acc9..61ea22a9 100644 --- a/pipelines/win32_build.bat +++ b/pipelines/win32_build.bat @@ -1,22 +1,18 @@ set PROJECT_ROOT=%~dp0.. -REM echo %PROJECT_ROOT% - -msbuild %PROJECT_ROOT%\vc\vc14_fceux.vcxproj +msbuild %PROJECT_ROOT%\vc\vc14_fceux.vcxproj /p:Configuration=Release /p:Platform="Win32" +@if ERRORLEVEL 1 goto end cd %PROJECT_ROOT%\vc -REM Copy Executable and dlls to output directory -copy vc14_bin_Debug\fceux.exe ..\output\. -copy vc14_bin_Debug\7z.dll ..\output\. - REM Create Zip Archive -REM archive.bat cd %PROJECT_ROOT%\output -..\vc\zip -X -9 -r ..\vc\fceux.zip fceux.exe fceux.chm taseditor.chm 7z.dll *.dll palettes luaScripts tools +..\vc\zip -X -9 -r ..\vc\fceux.zip fceux.exe fceux.chm taseditor.chm lua5.1.dll lua51.dll 7z.dll auxlib.lua palettes luaScripts tools +@if ERRORLEVEL 1 goto end cd %PROJECT_ROOT% appveyor PushArtifact %PROJECT_ROOT%\vc\fceux.zip +:end \ No newline at end of file