BizHawk/Dist/MakeRelease.bat

38 lines
1.0 KiB
Batchfile
Raw Normal View History

svn --version > NUL
@if errorlevel 1 goto MISSINGSVN
rmdir /s /q temp
2011-05-30 03:21:51 +00:00
del /s BizHawk.zip
cd ..\output
rem slimdx has a way of not making it into the output directory, so this is a good time to make sure
copy ..\..\SlimDx.dll
rem at the present we support moving all these dlls into the dll subdirectory
rem that might be troublesome some day..... if it does get troublesome, then we'll have to
rem explicitly list the OK ones here as individual copies. until then....
copy *.dll dll
2014-10-03 02:42:56 +00:00
zip -X -r ..\Dist\BizHawk.zip EmuHawk.exe DiscoHawk.exe defctrl.json dll shaders gamedb NES\Palettes Lua Gameboy\Palettes -x *.pdb -x *.lib -x *.pgd -x *.exp -x dll\libsneshawk-64*.exe -x *.ilk
cd ..\Dist
unzip BizHawk.zip -d temp
del BizHawk.zip
rmdir /s /q temp\lua
svn export ..\output\lua temp\Lua
cd temp
upx -d dll\*.dll
upx -d dll\*.exe
upx -d *.exe
2014-07-27 02:18:25 +00:00
..\zip -X -9 -r ..\BizHawk.zip .
cd ..
rmdir /s /q temp
goto END
:MISSINGSVN
@echo missing svn.exe. can't make distro without that.
:END