From: daid Date: Mon, 9 Jul 2012 12:26:51 +0000 (+0200) Subject: Added "all" to package targets X-Git-Tag: 12.07^0 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=72dae770a34fb6102c94c439c4a75fab9bfcd06c;p=cura.git Added "all" to package targets --- diff --git a/package.sh b/package.sh index 5845d6fd..5e6192b7 100755 --- a/package.sh +++ b/package.sh @@ -7,9 +7,9 @@ # CONFIGURATION ############################# - ##Select the build target -BUILD_TARGET=${1:-win32} +BUILD_TARGET=${1:-all} +#BUILD_TARGET=win32 #BUILD_TARGET=linux #BUILD_TARGET=osx64 @@ -39,6 +39,12 @@ function checkTool ############################# # Actual build script ############################# +if [ "$BUILD_TARGET" = "all" ]; then + $0 win32 + $0 linux + $0 osx64 + exit +fi # Change working directory to the directory the script is in # http://stackoverflow.com/a/246128