From 3c734d62d17a7ad2c97d537a9f306f8893e5a569 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonin=20D=C3=A9cimo?= Date: Tue, 19 Aug 2014 11:09:46 +0200 Subject: [PATCH] Add plain Love file module --- love-release.sh | 14 ++++++++++++-- scripts/love.sh | 7 +++++++ 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 scripts/love.sh diff --git a/love-release.sh b/love-release.sh index 52958b0..e5bdcad 100755 --- a/love-release.sh +++ b/love-release.sh @@ -14,12 +14,12 @@ LOVE_VERSION=0.9.1 ## - a colon ":" if it requires an argument ## SCRIPT_ARGS="a; osname:" -SCRIPT_ARGS="" +SCRIPT_ARGS="l; " ## Add a short summary of your platform script here ## SHORT_HELP=" -a Create an executable for a ## --osname Create an executable for osname" -SHORT_HELP="" +SHORT_HELP=" -l Create a plain Love file" ## Don't forget to source the corresponding file at the bottom of the script ! @@ -175,5 +175,15 @@ do ## OSNAME=$OPTARG ## source "$PLATFORMS_DIR/os.sh" ## fi + if [ "$OPTOPT" = "l" ]; then + source $PLATFORMS_DIR/love.sh + fi done + + +# Fallback if nothing is specified +init_module "Love" +create_love_file +exit_module + diff --git a/scripts/love.sh b/scripts/love.sh new file mode 100644 index 0000000..88ba00a --- /dev/null +++ b/scripts/love.sh @@ -0,0 +1,7 @@ +# Love +init_module "Love" + +create_love_file + +exit_module +