Moved back -g option to -a

This commit is contained in:
Antonin Décimo
2014-08-20 22:32:28 +02:00
parent 9a19a87a08
commit 83a5f111b7
3 changed files with 9 additions and 9 deletions

View File

@@ -6,7 +6,7 @@ Clone and run as root `install.sh`, or edit `install.sh` to choose
locations in user-space. locations in user-space.
### SYNOPSIS ### SYNOPSIS
`love-release.sh [-dglmw] [-n project_name] [-r release_dir] [-v love_version] [FILES...]` `love-release.sh [-adlmw] [-n project_name] [-r release_dir] [-v love_version] [FILES...]`
### DESCRIPTION ### DESCRIPTION
love-release.sh can be used to generate Love 2D game applications love-release.sh can be used to generate Love 2D game applications
@@ -30,7 +30,7 @@ the script will use it to set the game icon on Windows.
`--help` Print this longer help `--help` Print this longer help
#### OPERATING SYSTEMS #### OPERATING SYSTEMS
`-g` Create an Android package. `-a` Create an Android package.
In order to create an Android package, you must have installed the Android SDK. In order to create an Android package, you must have installed the Android SDK.
See [Building LÖVE for Android](https://bitbucket.org/MartinFelis/love-android-sdl2/wiki/Building_L%C3%96VE_for_Android_-_Linux), See [Building LÖVE for Android](https://bitbucket.org/MartinFelis/love-android-sdl2/wiki/Building_L%C3%96VE_for_Android_-_Linux),
but there is no need to install the [LÖVE port to Android](https://bitbucket.org/MartinFelis/love-android-sdl2), but there is no need to install the [LÖVE port to Android](https://bitbucket.org/MartinFelis/love-android-sdl2),

View File

@@ -3,7 +3,7 @@
love-release.sh \- Bash script to generate Love 2D game releases love-release.sh \- Bash script to generate Love 2D game releases
.SH SYNOPSIS .SH SYNOPSIS
.B love\-release.sh .B love\-release.sh
[\fB\-dglmw\fR] [\fB\-n\fR \fIproject_name\fR] [\fB\-r\fR \fIrelease_dir\fR] [\fB\-v\fR \fIlove_version\fR] [\fIFILES...\fR] [\fB\-adlmw\fR] [\fB\-n\fR \fIproject_name\fR] [\fB\-r\fR \fIrelease_dir\fR] [\fB\-v\fR \fIlove_version\fR] [\fIFILES...\fR]
.SH DESCRIPTION .SH DESCRIPTION
.B love-release.sh .B love-release.sh
can be used to generate Love 2D game applications can be used to generate Love 2D game applications
@@ -30,7 +30,7 @@ Print a short help
Print this longer help Print this longer help
.SH OPERATING SYSTEMS .SH OPERATING SYSTEMS
.TP .TP
.B \-g .B \-a
Create an Android package. Create an Android package.
In order to create an Android package, you must have installed the Android SDK, In order to create an Android package, you must have installed the Android SDK,
but there is no need to install the LÖVE port to Android, but there is no need to install the LÖVE port to Android,

View File

@@ -23,7 +23,7 @@ SCRIPT_ARGS="w. icon: $SCRIPT_ARGS"
SCRIPT_ARGS="d; package-version: maintainer-name: maintainer-email: homepage: description: package-name: $SCRIPT_ARGS" SCRIPT_ARGS="d; package-version: maintainer-name: maintainer-email: homepage: description: package-name: $SCRIPT_ARGS"
## Android ## Android
SCRIPT_ARGS="g; activity: package-version: maintainer-name: package-name: update-android; $SCRIPT_ARGS" SCRIPT_ARGS="a; activity: package-version: maintainer-name: package-name: update-android; $SCRIPT_ARGS"
## Mac OS X ## Mac OS X
SCRIPT_ARGS="m; icon: maintainer-name: $SCRIPT_ARGS" SCRIPT_ARGS="m; icon: maintainer-name: $SCRIPT_ARGS"
@@ -33,8 +33,8 @@ SCRIPT_ARGS="m; icon: maintainer-name: $SCRIPT_ARGS"
## SHORT_HELP=" -a Create an executable for a ## SHORT_HELP=" -a Create an executable for a
## --osname Create an executable for osname" ## --osname Create an executable for osname"
SHORT_HELP=" -l Create a plain Love file SHORT_HELP=" -l Create a plain Love file
-a Create an Android package
-d Create a Debian package -d Create a Debian package
-g Create an Android package
-m Create a Mac OS X application -m Create a Mac OS X application
-w, Create a Windows application -w, Create a Windows application
-w32 Create a Windows x86 application -w32 Create a Windows x86 application
@@ -201,10 +201,10 @@ do
## fi ## fi
if [ "$OPTOPT" = "l" ]; then if [ "$OPTOPT" = "l" ]; then
source "$PLATFORMS_DIR"/love.sh source "$PLATFORMS_DIR"/love.sh
elif [ "$OPTOPT" = "a" ]; then
source "$PLATFORMS_DIR"/android.sh
elif [ "$OPTOPT" = "d" ]; then elif [ "$OPTOPT" = "d" ]; then
source "$PLATFORMS_DIR"/debian.sh source "$PLATFORMS_DIR"/debian.sh
elif [ "$OPTOPT" = "g" ]; then
source "$PLATFORMS_DIR"/android.sh
elif [ "$OPTOPT" = "m" ]; then elif [ "$OPTOPT" = "m" ]; then
source "$PLATFORMS_DIR"/macosx.sh source "$PLATFORMS_DIR"/macosx.sh
elif [ "$OPTOPT" = "w" ]; then elif [ "$OPTOPT" = "w" ]; then
@@ -224,7 +224,7 @@ done
# Missing operands # Missing operands
if [ "$missing_operands" = true ]; then if [ "$missing_operands" = true ]; then
>&2 echo "./love-release.sh: missing operands. >&2 echo "./love-release.sh: missing operands.
love-release.sh [-dglmw] [-n project_name] [-r release_dir] [-v love_version] [FILES...] love-release.sh [-adlmw] [-n project_name] [-r release_dir] [-v love_version] [FILES...]
Try 'love-release.sh --help' for more information." Try 'love-release.sh --help' for more information."
exit 1 exit 1
fi fi