chiark / gitweb /
Added "all" to package targets 12.07
authordaid <daid303@gmail.com>
Mon, 9 Jul 2012 12:26:51 +0000 (14:26 +0200)
committerdaid <daid303@gmail.com>
Mon, 9 Jul 2012 12:26:51 +0000 (14:26 +0200)
package.sh

index 5845d6fd12fea043b7bbbbc0d647f82728d0e271..5e6192b7cc8c93c342c50786316154d1b1012880 100755 (executable)
@@ -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