diff options
| author | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-06-20 10:59:35 +0000 |
|---|---|---|
| committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-06-20 10:59:35 +0000 |
| commit | 2589f545fc49da32666846cea849bbfa48f562ef (patch) | |
| tree | 91b4e011fa98e94bd18e5c3f3f6855998cfca9a2 /plugins/!NotAdopted/rps2/ZIP/doit.bat | |
| parent | 5b036c3d8000703cdc45b42c0614372d449fb178 (diff) | |
test 3
git-svn-id: http://svn.miranda-ng.org/main/trunk@5063 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/!NotAdopted/rps2/ZIP/doit.bat')
| -rw-r--r-- | plugins/!NotAdopted/rps2/ZIP/doit.bat | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/plugins/!NotAdopted/rps2/ZIP/doit.bat b/plugins/!NotAdopted/rps2/ZIP/doit.bat new file mode 100644 index 0000000000..47911225d3 --- /dev/null +++ b/plugins/!NotAdopted/rps2/ZIP/doit.bat @@ -0,0 +1,58 @@ +@echo off
+
+rem Batch file to build and upload files
+rem
+rem TODO: Integration with FL
+
+set name=rps
+
+rem To upload, this var must be set here or in other batch
+rem set ftp=ftp://<user>:<password>@<ftp>/<path>
+
+echo Building %name% ...
+
+msdev ..\%name%.dsp /MAKE "%name% - Win32 Release" /REBUILD
+
+echo Generating files for %name% ...
+
+del *.zip
+del *.dll
+copy ..\Docs\%name%_changelog.txt
+copy ..\Docs\%name%_version.txt
+copy ..\Docs\%name%_readme.txt
+mkdir Docs
+cd Docs
+del /Q *.*
+copy ..\..\Docs\%name%_readme.txt
+cd ..
+mkdir Plugins
+cd Plugins
+del /Q *.*
+copy ..\..\..\..\bin\release\Plugins\RemovePersonalSettings.dll
+copy ..\..\RemovePersonalSettings.ini
+cd ..
+
+"C:\Program Files\Filzip\Filzip.exe" -a -rp %name%.zip Docs Plugins
+
+cd Docs
+del /Q *.*
+cd ..
+rmdir Docs
+cd Plugins
+del /Q *.*
+cd ..
+rmdir Plugins
+
+if "%ftp%"=="" GOTO END
+
+echo Going to upload files...
+pause
+
+"C:\Program Files\FileZilla\FileZilla.exe" -u .\%name%.zip %ftp% -overwrite -close
+"C:\Program Files\FileZilla\FileZilla.exe" -u .\%name%_changelog.txt %ftp% -overwrite -close
+"C:\Program Files\FileZilla\FileZilla.exe" -u .\%name%_version.txt %ftp% -overwrite -close
+"C:\Program Files\FileZilla\FileZilla.exe" -u .\%name%_readme.txt %ftp% -overwrite -close
+
+:END
+
+echo Done.
|
