mirror of
https://github.com/TangentFoxy/love-release.git
synced 2025-07-28 11:02:20 +00:00
Merge branch 'master' into modules
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
## Edit this if you want to use another Löve version.
|
## Edit this if you want to use another Löve version.
|
||||||
LOVE_VERSION=0.9.1
|
LOVE_VERSION=0.9.1
|
||||||
|
|
||||||
|
|
||||||
## Short help ##
|
## Short help ##
|
||||||
function short_help()
|
short_help ()
|
||||||
{
|
{
|
||||||
echo "Usage: love-release.sh [options...] [files...]
|
echo "Usage: love-release.sh [options...] [files...]
|
||||||
Options:
|
Options:
|
||||||
@@ -25,7 +25,7 @@ Options:
|
|||||||
}
|
}
|
||||||
|
|
||||||
## Long help ##
|
## Long help ##
|
||||||
function long_help()
|
long_help ()
|
||||||
{
|
{
|
||||||
echo "
|
echo "
|
||||||
.TH LOVE-RELEASE.SH 1
|
.TH LOVE-RELEASE.SH 1
|
||||||
@@ -206,7 +206,7 @@ command -v lua >/dev/null 2>&1 || { FOUND_LUA=false; }
|
|||||||
|
|
||||||
|
|
||||||
## Parsing function ##
|
## Parsing function ##
|
||||||
function getoptex()
|
getoptex ()
|
||||||
{
|
{
|
||||||
let $# || return 1
|
let $# || return 1
|
||||||
local optlist="${1#;}"
|
local optlist="${1#;}"
|
||||||
@@ -294,7 +294,7 @@ function getoptex()
|
|||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
float_test() {
|
float_test () {
|
||||||
a=$(echo | awk 'END { exit ( !( '"$1"')); }' && echo "true")
|
a=$(echo | awk 'END { exit ( !( '"$1"')); }' && echo "true")
|
||||||
if [ "$a" != "true" ]; then
|
if [ "$a" != "true" ]; then
|
||||||
a=false
|
a=false
|
||||||
|
Reference in New Issue
Block a user