Created
February 27, 2014 04:46
-
-
Save jrenner/9244560 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| ROBO="/Users/jonrenner/robovm" | |
| MISSILE="/Users/jonrenner/projects/missile-designer" | |
| OUT="$MISSILE/out/production" | |
| STARTER_CLASS_FILE="$MISSILE/ios/src/org/jrenner/superior/ios/RoboVMStarter.java" | |
| IOS_LIBS="$MISSILE/ios/libs" | |
| MAIN_LIBS="$MISSILE/main/libs" | |
| EXT_LIBS="$IOS_LIBS/ios/libgdx.a:$IOS_LIBS/ios/libObjectAL.a:$IOS_LIBS/ios/libgdx-freetype.a" | |
| ROBO_CP="$IOS_LIBS/gdx-backend-robovm.jar:$IOS_LIBS:$IOS_LIBS/ios:$MAIN_LIBS:$MAIN_LIBS/box2dlights.jar:$MAIN_LIBS/gdx.jar:$MAIN_LIBS/freetype/gdx-freetype.jar" | |
| echo "RoboVM/JavaC utility script v0.01 - by github.com/jrenner" | |
| if [ "$1" == "robo" ]; then | |
| echo "RoboVM Compile Bash Script" | |
| $ROBO/bin/robovm -verbose -arch x86 -os ios -libs $EXT_LIBS -cp $ROBO_CP:$ROBO/lib/robovm-objc.jar:$ROBO/lib/robovm-cocoatouch.jar:$OUT/ios/:\ | |
| $OUT/main:$MAIN_LIBS/kryonet-2.21-all.jar:$MAIN_LIBS/superior-net-common.jar -run org.jrenner.superior.ios.RoboVMStarter | |
| fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment