diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-05-18 22:02:50 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-05-18 22:02:50 +0000 |
commit | f920ef497f3299ae24fe783ce03bdd93b419f764 (patch) | |
tree | bdaa9197c08d29ab141a6adfdd6cc0a68ddd3996 /plugins/Tabsrmm/pack.cmd | |
parent | 6c3b0571f0678da0512069869afaa284c054377e (diff) |
plugins folders renaming
git-svn-id: http://svn.miranda-ng.org/main/trunk@60 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Tabsrmm/pack.cmd')
-rw-r--r-- | plugins/Tabsrmm/pack.cmd | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/plugins/Tabsrmm/pack.cmd b/plugins/Tabsrmm/pack.cmd new file mode 100644 index 0000000000..92d4da0cb6 --- /dev/null +++ b/plugins/Tabsrmm/pack.cmd @@ -0,0 +1,24 @@ +@echo off
+set PluginName=tabSRMM
+nmake -f %PluginName%.mak CFG="%PluginName% - Win32 Release"
+nmake -f %PluginName%.mak CFG="%PluginName% - Win32 Release Unicode"
+if errorlevel 1 (
+ echo "Make failed"
+ goto :eof )
+
+del "%temp%\%PluginName%.zip" > nul
+del "%temp%\%PluginName%W.zip" > nul
+del "%temp%\%PluginName%Src.zip" > nul
+del *.user > nul
+
+rd /S /Q Release
+rd /S /Q Release_Unicode
+
+7z.exe a -tzip -r -mx=9 "%temp%\%PluginName%.zip" ../../bin/Release/%PluginName%*.dll
+del ../../../bin/Release/Plugins/%PluginName%.dll >nul
+
+7z.exe a -tzip -r -mx=9 "%temp%\%PluginName%W.zip" "../../bin/Release Unicode/%PluginName%*.dll"
+del "../../../bin/Release Unicode/Plugins/%PluginName%.dll" >nul
+
+7z.exe a -tzip -r0 -mx=9 "%temp%\%PluginName%Src.zip" -xr!.svn -x!*.cmd
+goto :eof
|