summaryrefslogtreecommitdiff
path: root/plugins/StatusPlugins/StartupStatus/pack.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/StatusPlugins/StartupStatus/pack.cmd')
-rw-r--r--plugins/StatusPlugins/StartupStatus/pack.cmd42
1 files changed, 0 insertions, 42 deletions
diff --git a/plugins/StatusPlugins/StartupStatus/pack.cmd b/plugins/StatusPlugins/StartupStatus/pack.cmd
deleted file mode 100644
index ad14c865d0..0000000000
--- a/plugins/StatusPlugins/StartupStatus/pack.cmd
+++ /dev/null
@@ -1,42 +0,0 @@
-@echo off
-set PluginName=StartupStatus
-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
-
-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%\%PluginName%.zip" ../../../bin/Release/Plugins/%PluginName%.dll ../statusplugins-translation.txt ../m_statusplugins.h
-del ../../../bin/Release/Plugins/%PluginName%.dll >nul
-
-"%PROGRAMFILES%\7-zip\7z.exe" a -tzip -r- -mx=9 "%temp%\%PluginName%W.zip" "../../../bin/Release Unicode/Plugins/%PluginName%.dll" ../statusplugins-translation.txt ../m_statusplugins.h
-del "../../../bin/Release Unicode/Plugins/%PluginName%.dll" >nul
-
-if exist "%PROGRAMFILES%\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe" (
- "%PROGRAMFILES%\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe" StartupStatus_9.vcproj /Build "Release Unicode|x64"
- copy "Release Unicode64\Plugins\%PluginName%.dll" .
- "%PROGRAMFILES%\7-zip\7z.exe" a -tzip -r0 -mx=9 "%temp%\%PluginName%64.zip" %PluginName%.dll ../statusplugins-translation.txt ../m_statusplugins.h
- del %PluginName%.dll
- rd /S /Q "Release Unicode64" )
-
-cd ../..
-"%PROGRAMFILES%\7-zip\7z.exe" a -tzip -r0 -mx=9 "%temp%\%PluginName%Src.zip" -ir!helpers/*.* -ir!StatusPlugins/*.* -ir!NewTriggerPlugin/*.* -xr!StatusPlugins/AdvancedAutoAway/* -xr!StatusPlugins/KeepStatus/* -xr!.svn -x!*.cmd
-goto :eof
-
-:Translate
-if %2 == __FILEVERSION_STRING (
- pushd ..
- perl lpgen.pl status version %3 %4 %5 %6
- popd)
-
-goto :eof