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

cd ccnxandroidmetis
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 ccnxandroidmetis/MetisControl/build/outputs/apk/"
cd ..