summaryrefslogtreecommitdiff
path: root/plugins/xml/pack.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/xml/pack.cmd')
-rw-r--r--plugins/xml/pack.cmd24
1 files changed, 24 insertions, 0 deletions
diff --git a/plugins/xml/pack.cmd b/plugins/xml/pack.cmd
new file mode 100644
index 0000000000..c2eef97cc6
--- /dev/null
+++ b/plugins/xml/pack.cmd
@@ -0,0 +1,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 \ No newline at end of file