Merge branch 'tof-4-2' into 'master'

Tanks of freedom: add tof-4-2 release



See merge request !1289
This commit is contained in:
Boris Kraut 2016-03-15 20:45:28 +00:00
commit 7b768afc2c

View file

@ -255,5 +255,30 @@ Build:0.4.0.3-beta,10
cd ../tof && \
../godot/bin/godot_server.server.tools.* -export Android ../tof.apk
Build:0.4.2-beta,12
commit=744e97c57ece7c708ffd42a15829a39e5f6a5030
output=tof.apk
srclibs=Godot@53aa9cd51ab2551d67a71729ff61ae6668abda74
prebuild=mkdir tof && \
bash -O extglob -c "mv !(tof) tof" && \
printf "[platform:Android]\n\npackage/icon=\"res://icon.png\"\npackage/name=\"Tanks of Freedom\"\npackage/unique_name=\"in.p1x.tanks_of_freedom\"\nversion/code=\"$$VERCODE$$\"\nversion/name=\"$$VERSION$$\"\n" > tof/export.cfg && \
cp -R $$Godot$$ godot
target=android-19
scandelete=godot/drivers/builtin_openssl2/crypto/pkcs7/p7,godot/platform/flash
build=cd godot && \
scons -j 4 p=server unix_global_settings_path=".." && \
export ANDROID_NDK_ROOT=$$NDK$$ && \
scons -j 4 p=android target=release && \
mkdir -p platform/android/java/libs/armeabi && \
cp bin/libgodot.android.opt.armv7.neon.so platform/android/java/libs/armeabi/libgodot_android.so && \
pushd platform/android/java/ && \
gradle assembleRelease && \
popd && \
export HOME=$PWD && \
mkdir -p ../templates/ && \
cp platform/android/java/build/outputs/apk/java-release-unsigned.apk ../templates/android_release.apk && \
cd ../tof && \
../godot/bin/godot_server.server.tools.* -export Android ../tof.apk
Auto Update Mode:None
Update Check Mode:None