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

cd MetisForwarder
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 MetisForwarder/app/build/outputs/apk"
cd ..