archive nescarts to 7z during dist process.

also remove referenced assembly xml docs from dll dir.
This commit is contained in:
zeromus 2016-11-12 18:27:39 -06:00
parent 0b4fc8b6a5
commit 10499ee07e
2 changed files with 9 additions and 0 deletions

BIN
Dist/7za.exe Normal file

Binary file not shown.

View File

@ -67,6 +67,9 @@ upx -d temp\dll\*.dll
upx -d temp\dll\*.exe
upx -d temp\*.exe
rem dont need docs xml for assemblies and whatnot
del temp\dll\*.xml
cd temp
rem Patch up working dir with a few other things we want
@ -75,6 +78,12 @@ copy ..\HelloWorld_BizHawkTool.dll ExternalTools
copy ..\HelloWorld_BizHawkTool.zip ExternalTools
mkdir Firmware
rem compress nescart 7z
cd gamedb
..\..\7za a -t7z -mx9 NesCarts.7z NesCarts.xml
del NesCarts.xml
cd ..
rem Build the final zip
..\zip.exe -X -9 -r ..\%NAME% . -i \*
cd ..