Add Android module

This commit is contained in:
Antonin Décimo
2014-08-19 17:18:57 +02:00
parent 3c1af29321
commit 478d385412
4 changed files with 118 additions and 5 deletions

View File

@@ -14,12 +14,14 @@ LOVE_VERSION=0.9.1
## - a colon ":" if it requires an argument
## SCRIPT_ARGS="a; osname:"
SCRIPT_ARGS="l; d; w."
SCRIPT_ARGS="l; d; g; w."
## Windows
SCRIPT_ARGS="icon: $SCRIPT_ARGS"
## Debian
SCRIPT_ARGS="package-version: maintainer-name: maintainer-email: homepage: description: package-name: $SCRIPT_ARGS"
## Android
SCRIPT_ARGS="activity: package-version: maintainer-name: package-name: update-android; $SCRIPT_ARGS"
## Add a short summary of your platform script here
@@ -27,6 +29,7 @@ SCRIPT_ARGS="package-version: maintainer-name: maintainer-email: homepage: descr
## --osname Create an executable for osname"
SHORT_HELP=" -l Create a plain Love file
-d Create a Debian package
-g Create an Android package
-w, Create a Windows application
-w32 Create a Windows x86 application
-w64 Create a Windows x64 application"
@@ -191,6 +194,8 @@ do
source "$PLATFORMS_DIR"/love.sh
elif [ "$OPTOPT" = "d" ]; then
source "$PLATFORMS_DIR"/debian.sh
elif [ "$OPTOPT" = "g" ]; then
source "$PLATFORMS_DIR"/android.sh
elif [ "$OPTOPT" = "w" ]; then
if [ "$OPTARG" = "32" ]; then
RELEASE_WIN_32=true