X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=bin%2Fremote_build.sh;fp=bin%2Fremote_build.sh;h=149ac71c933f79bcd03a2ba439d8e04b1120d174;hb=13a31c5cdbb0bc24b8cd51776d32d73561294622;hp=0000000000000000000000000000000000000000;hpb=0ac7e1ca2a56397b76df4d4970c8326d3f11518d;p=dotfiles.git diff --git a/bin/remote_build.sh b/bin/remote_build.sh new file mode 100755 index 0000000..149ac71 --- /dev/null +++ b/bin/remote_build.sh @@ -0,0 +1,12 @@ +#/bin/bash + +svn diff > temp.diff +scp temp.diff cpvedev@cpvedev:cpve_trunk/ + +ssh cpvedev@cpvedev 'cd ~/cpve_trunk && \ + svn revert -R . && \ + patch -p0 < temp.diff &&\ + scons arch=arm platform=android debug=True -j4 androidndk=/opt/android-ndk' +scp cpvedev@cpvedev:cpve_trunk/target/run/Debug/acpvetest.apk ~/CPVE/cpve_trunk/temp/run/Release/ +scp cpvedev@cpvedev:cpve_trunk/target/run/Debug/run_monkey.sh ~/CPVE/cpve_trunk/temp/run/Release/ +#scp cpvedev@cpvedev:cpve_trunk/target/run/Debug/monkeytalk-runner.jar ~/CPVE/cpve_trunk/temp/run/Release/