aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/compile_iget.sh
blob: 984dae076fcdb99740a91af9751c30e90be4e31f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

cd iGetAndroid
if [ ! -f local.properties ]; then
	echo sdk.dir=${SDK} > local.properties
	echo ndk.dir=${NDK} >> local.properties
fi

if [ "$1" = "DEBUG" ]; then
	./gradlew assembleDebug
else
	./gradlew assembleRelease
fi

echo "Apks are inside iGetAndroid/app/build/outputs/apk"
cd ..