summaryrefslogtreecommitdiffstats
path: root/run
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-11-27 15:58:25 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-11-27 15:58:25 +0100
commitc65ee999c4377c0a6d6f5826c3b8b52b1d7ed670 (patch)
treea37ce4b977460914d39f6d6817f7818f190beb07 /run
parentea89006b40d024886deb280ec51268eb5507b904 (diff)
downloadRustAndDust-c65ee999c4377c0a6d6f5826c3b8b52b1d7ed670.zip
RustAndDust-c65ee999c4377c0a6d6f5826c3b8b52b1d7ed670.tar.gz
fix run, again
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