summaryrefslogtreecommitdiff
path: root/plugins/xml/pack.cmd
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-05-15 10:38:20 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-05-15 10:38:20 +0000
commit48540940b6c28bb4378abfeb500ec45a625b37b6 (patch)
tree2ef294c0763e802f91d868bdef4229b6868527de /plugins/xml/pack.cmd
parent5c350913f011e119127baeb32a6aedeb4f0d33bc (diff)
initial commit
git-svn-id: http://svn.miranda-ng.org/main/trunk@2 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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