summaryrefslogtreecommitdiff
path: root/wbOSD/pack.cmd
diff options
context:
space:
mode:
authormataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-05-15 15:17:43 +0000
committermataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-05-15 15:17:43 +0000
commit6f8f9d1405f64ca8218a6b83b83e01e3ece3c9ea (patch)
tree659fcf8266e059edb698bfb90a383e2f2bdd6922 /wbOSD/pack.cmd
parente508be767406364f01e423f718c416707f14afea (diff)
added QuickMessages plugin
added webOSD plugin git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@106 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
Diffstat (limited to 'wbOSD/pack.cmd')
-rw-r--r--wbOSD/pack.cmd31
1 files changed, 31 insertions, 0 deletions
diff --git a/wbOSD/pack.cmd b/wbOSD/pack.cmd
new file mode 100644
index 0000000..bd37e4d
--- /dev/null
+++ b/wbOSD/pack.cmd
@@ -0,0 +1,31 @@
+@echo off
+nmake -f wbOSD.mak CFG="wbOSD - Win32 Release"
+if errorlevel 1 (
+ echo "Make failed"
+ goto :eof )
+nmake -f wbOSD.mak CFG="wbOSD - Win32 Release Unicode"
+if errorlevel 1 (
+ echo "Make failed"
+ goto :eof )
+
+del "%temp%\wbOSD.zip" > nul
+del "%temp%\wbOSDW.zip" > nul
+del "%temp%\wbOSDSrc.zip" > nul
+del *.user > nul
+
+for /F "tokens=1-6 delims=, " %%i in (buildnumber.h) do call :Translate %%i %%j %%k %%l %%m %%n
+
+"%PROGRAMFILES%\7-zip\7z.exe" a -tzip -r- -mx=9 "%temp%\wbOSD.zip" ./Release/wbOSD.dll wbOSD-translation.txt
+"%PROGRAMFILES%\7-zip\7z.exe" a -tzip -r- -mx=9 "%temp%\wbOSDW.zip" ./Release_Unicode/wbOSD.dll wbOSD-translation.txt
+
+rd /S /Q Release
+rd /S /Q Release_Unicode
+
+"%PROGRAMFILES%\7-zip\7z.exe" a -tzip -r0 -mx=9 "%temp%\wbOSDSrc.zip" -xr!.svn -x!*.cmd
+goto :eof
+
+:Translate
+if %2 == __FILEVERSION_STRING (
+ perl lpgen.pl wbOSD version %3 %4 %5 %6 )
+
+goto :eof