summaryrefslogtreecommitdiff
path: root/tools/build_scripts/z4_UploadPluginUpdater.bat
diff options
context:
space:
mode:
authorwatcherhd <watcherhd@gmail.com>2017-08-05 18:28:13 +0300
committerwatcherhd <watcherhd@gmail.com>2017-08-05 18:28:13 +0300
commit760c3ae475b4b39b486f72c7adb8c1f1d83b440f (patch)
treee3e08ebf880462db266321b8e1528f11d1b71cdf /tools/build_scripts/z4_UploadPluginUpdater.bat
parent6b3e2962bcf7917e0593da3f5c3605e923889fe2 (diff)
build scripts for those who are willing to keep it all going
Diffstat (limited to 'tools/build_scripts/z4_UploadPluginUpdater.bat')
-rw-r--r--tools/build_scripts/z4_UploadPluginUpdater.bat21
1 files changed, 21 insertions, 0 deletions
diff --git a/tools/build_scripts/z4_UploadPluginUpdater.bat b/tools/build_scripts/z4_UploadPluginUpdater.bat
new file mode 100644
index 0000000000..fa46e5a70a
--- /dev/null
+++ b/tools/build_scripts/z4_UploadPluginUpdater.bat
@@ -0,0 +1,21 @@
+set tp=%1
+if "%tp%"=="" (echo "please specify target platform 32 or 64!"&&pause&&goto :EOF)
+
+call a_SetVar%tp%.bat
+
+if exist zzReport.txt del /f /q zzReport.txt
+
+:upload
+%WinSCP% /script=z4_UploadPluginUpdater.txt
+
+if errorlevel 1 goto error
+
+echo Upload Plugin Updater Success! >> zzReport.txt
+if exist %Arch% rd /Q /S "%Arch%" >nul
+goto end
+
+:error
+echo Upload Plugin Updater x%tp% Error! >> zzReport.txt
+
+:end
+