fix broken win32 appveyor build (#121)
* fix broken win32 appveyor build: - does not report build errors! - wrong configuration, should be release - should include auxlib.lua
This commit is contained in:
parent
4c6a5b5313
commit
fe4472f574
|
@ -1,22 +1,18 @@
|
||||||
|
|
||||||
set PROJECT_ROOT=%~dp0..
|
set PROJECT_ROOT=%~dp0..
|
||||||
|
|
||||||
REM echo %PROJECT_ROOT%
|
msbuild %PROJECT_ROOT%\vc\vc14_fceux.vcxproj /p:Configuration=Release /p:Platform="Win32"
|
||||||
|
@if ERRORLEVEL 1 goto end
|
||||||
msbuild %PROJECT_ROOT%\vc\vc14_fceux.vcxproj
|
|
||||||
|
|
||||||
cd %PROJECT_ROOT%\vc
|
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 Create Zip Archive
|
||||||
REM archive.bat
|
|
||||||
cd %PROJECT_ROOT%\output
|
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%
|
cd %PROJECT_ROOT%
|
||||||
|
|
||||||
appveyor PushArtifact %PROJECT_ROOT%\vc\fceux.zip
|
appveyor PushArtifact %PROJECT_ROOT%\vc\fceux.zip
|
||||||
|
|
||||||
|
:end
|
Loading…
Reference in New Issue