From 48540940b6c28bb4378abfeb500ec45a625b37b6 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Tue, 15 May 2012 10:38:20 +0000 Subject: initial commit git-svn-id: http://svn.miranda-ng.org/main/trunk@2 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/xml/pack.cmd | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 plugins/xml/pack.cmd (limited to 'plugins/xml/pack.cmd') 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 -- cgit v1.2.3