Commit df0ae30f authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Allow a build TV

parent 6591bfab
......@@ -23,6 +23,9 @@ while [ $# -gt 0 ]; do
ANDROID_ABI=$2
shift
;;
-t)
ANDROID_TV=1
;;
-r|release|--release)
RELEASE=1
;;
......@@ -152,11 +155,21 @@ fi
##################
if [ "$RELEASE" = 1 ]; then
./gradlew assembleVanillaRelease
if [ "$ANDROID_TV" = 1 ]; then
TARGET="assembleTvRelease"
else
TARGET="assembleVanillaRelease"
fi
else
./gradlew assembleVanillaDebug
if [ "$ANDROID_TV" = 1 ]; then
TARGET="assembleTvDebug"
else
TARGET="assembleVanillaDebug"
fi
fi
./gradlew $TARGET
#######
# RUN #
#######
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment