diff options
Diffstat (limited to 'scripts/compile_androidmetis.sh')
-rwxr-xr-x | scripts/compile_androidmetis.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/scripts/compile_androidmetis.sh b/scripts/compile_androidmetis.sh new file mode 100755 index 00000000..2d80653c --- /dev/null +++ b/scripts/compile_androidmetis.sh @@ -0,0 +1,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 ..
\ No newline at end of file |