summaryrefslogtreecommitdiff
path: root/plugins/xml/pack.cmd
blob: c2eef97cc66f31016b10f2f764a77ea4284c9b79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
rem @echo off
nmake -f xml.mak CFG="xml - Win32 Release"
if errorlevel 1 (
   echo "Make failed"
   goto :eof )
nmake -f xml.mak CFG="xml - Win32 Release Unicode"
if errorlevel 1 (
   echo "Make failed"
   goto :eof )

del "%temp%\xml.zip" > nul
del "%temp%\xmlW.zip" > nul
del "%temp%\xmlSrc.zip" > nul
del *.user > nul

7z.exe a -tzip -r- -mx=9 "%temp%\xml.zip" ./Release/xml.dll
7z.exe a -tzip -r- -mx=9 "%temp%\xmlW.zip" ./Release_Unicode/xml.dll

rd /S /Q Release
rd /S /Q Release_Unicode

cd ..
7z.exe a -tzip -r0 -mx=9 "%temp%\xmlSrc.zip" -ir!xml/*.* -xr!.svn -x!*.cmd
goto :eof