diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-05-15 10:38:20 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-05-15 10:38:20 +0000 |
commit | 48540940b6c28bb4378abfeb500ec45a625b37b6 (patch) | |
tree | 2ef294c0763e802f91d868bdef4229b6868527de /plugins/TipperYM/DoIt.bat | |
parent | 5c350913f011e119127baeb32a6aedeb4f0d33bc (diff) |
initial commit
git-svn-id: http://svn.miranda-ng.org/main/trunk@2 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TipperYM/DoIt.bat')
-rw-r--r-- | plugins/TipperYM/DoIt.bat | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/plugins/TipperYM/DoIt.bat b/plugins/TipperYM/DoIt.bat new file mode 100644 index 0000000000..d0127132d9 --- /dev/null +++ b/plugins/TipperYM/DoIt.bat @@ -0,0 +1,58 @@ +@ECHO off
+CLS
+SET ZIP="D:\Program Files\7-Zip\7z.exe"
+
+CALL "%VS71COMNTOOLS%\vsvars32.bat"
+ECHO.
+ECHO Compilation in progress...
+ECHO.
+devenv.exe /rebuild "Release" tipper_ym.vcproj
+devenv.exe /rebuild "Release (ansi)" tipper_ym.vcproj
+
+CALL "%VS90COMNTOOLS%\vsvars32.bat"
+ECHO.
+ECHO Compilation in progress...
+ECHO.
+devenv.exe tipper_ym_9.vcproj /project "tipper_ym_9.vcproj" /projectconfig "Release|x64" /rebuild
+
+MKDIR ansi
+MKDIR x64
+COPY /Y "Release\tipper.dll" tipper.dll
+COPY /Y "Release64\tipper.dll" "x64\tipper.dll"
+COPY /Y "Release (ansi)\tipper.dll" "ansi\tipper.dll"
+
+MKDIR "skins\Tipper\XPMC"
+MKDIR "skins\Tipper\Tipper classic"
+XCOPY /Y "docs\sample skin" "skins\Tipper\XPMC"
+XCOPY /Y "docs\tipper classic" "skins\Tipper\Tipper classic"
+
+RMDIR /S /Q upload
+MKDIR "upload\updater"
+MKDIR "upload\addons"
+%ZIP% a -mx9 upload\tipper-ym.zip tipper.dll ansi\tipper.dll x64\tipper.dll docs\*.txt docs\*.ini docs\*.h skins
+
+MKDIR plugins
+COPY /Y "Release\tipper.dll" "plugins\tipper.dll"
+%ZIP% a -mx9 upload\updater\tipper-ym.zip plugins\tipper.dll docs\*.txt docs\*.ini docs\*.h
+
+COPY /Y "Release (ansi)\tipper.dll" "plugins\tipper.dll"
+%ZIP% a -mx9 upload\updater\tipper-ym_ansi.zip plugins\tipper.dll docs\*.txt docs\*.ini docs\*.h
+%ZIP% a -mx9 upload\tipper-ym_src.zip *.cpp *.h *.rc *.vcproj *.ds* docs\*.txt docs\*.ini docs\*.h sdk\*.h res\*.ico
+
+COPY /Y "Release\tipper.dll" "tipper.dll"
+%ZIP% a -mx9 upload\addons\tipper-ym.zip tipper.dll docs\*.txt docs\*.ini docs\*.h skins
+COPY /Y "Release (ansi)\tipper.dll" "tipper.dll"
+%ZIP% a -mx9 upload\addons\tipper-ym_ansi.zip tipper.dll docs\*.txt docs\*.ini docs\*.h
+COPY /Y "Release64\tipper.dll" "tipper.dll"
+%ZIP% a -mx9 upload\addons\tipper-ym_x64.zip tipper.dll docs\*.txt docs\*.ini docs\*.h skins
+
+DEL tipper.dll
+RMDIR /S /Q x64
+RMDIR /S /Q ansi
+RMDIR /S /Q plugins
+RMDIR /S /Q skins
+RMDIR /S /Q "Release"
+RMDIR /S /Q "Release64"
+RMDIR /S /Q "Release (ansi)"
+
+TIMEOUT 10
\ No newline at end of file |