aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/compile_metisforwarder.sh
blob: 30dd82873b1f928be3d75c6edc78fc79496e0936 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
set -e
cd MetisForwarderAndroid
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 MetisForwarderAndroid/app/build/outputs/apk"
cd ..