summaryrefslogtreecommitdiffstats
path: root/run
diff options
context:
space:
mode:
Diffstat (limited to 'run')
-rwxr-xr-xrun5
1 files changed, 5 insertions, 0 deletions
diff --git a/run b/run
index 8537d8e..ca1883f 100755
--- a/run
+++ b/run
@@ -10,23 +10,28 @@ function gradlew_do()
case "$1" in
"c")
+ shift;
ARGS="clean packs $ARGS $@"
gradlew_do
;;
"a")
+ shift;
ARGS="android:installDebug android:run $@"
gradlew_do
echo "on failure: sudo adb kill-server; (sudo adb start-server;) sudo adb devices"
;;
"t")
+ shift;
ARGS="core:test $@"
gradlew_do
;;
"j")
+ shift;
ARGS="core:compileJava $@"
gradlew_do
;;
"d")
+ shift;
ARGS="desktop:dist $@"
gradlew_do
mv ./desktop/build/libs/desktop-1.0.jar TankOnTank.jar