mirror of
https://github.com/DrBeef/JKXR.git
synced 2024-11-26 22:11:52 +00:00
4597b03873
Opens in Android Studio but haven't even tried to build it yet (it won't.. I know that much!)
20 lines
808 B
Batchfile
20 lines
808 B
Batchfile
setlocal
|
|
set CYGWIN_ROOT=C:\cygwin
|
|
set WIN32_ROOT=/cygdrive/c
|
|
set DEPLOY_LOCATION=ojkwinbuilder@upload.openjk.org:/home/ojkwinbuilder/builds/
|
|
set ZIP_FILE=%1
|
|
|
|
echo Scheduled build: "%APPVEYOR_SCHEDULED_BUILD%"
|
|
echo Platform: "%PLATFORM%"
|
|
echo Configuration: "%CONFIGURATION%"
|
|
|
|
if not "%APPVEYOR_SCHEDULED_BUILD%"=="True" goto end
|
|
if not "%PLATFORM%"=="Win32" goto end
|
|
if not "%CONFIGURATION%"=="Release" goto end
|
|
|
|
echo Deploying %ZIP_FILE%
|
|
%CYGWIN_ROOT%\setup-x86.exe -qnNdO -R %CYGWIN_ROOT% -s http://cygwin.mirror.constant.com -l %CYGWIN_ROOT%/var/cache/setup -P rsync
|
|
%CYGWIN_ROOT%\bin\bash -lc 'rsync -avz --progress -e "ssh -p 29022 -o StrictHostKeyChecking=no -i %WIN32_ROOT%/users/appveyor/.ssh/id_rsa" -p --chmod=0644 --protocol=29 %WIN32_ROOT%/projects/openjk/%ZIP_FILE% "%DEPLOY_LOCATION%"'
|
|
|
|
:end
|
|
|