summaryrefslogtreecommitdiffstats
path: root/do
diff options
context:
space:
mode:
Diffstat (limited to 'do')
-rwxr-xr-xdo22
1 files changed, 22 insertions, 0 deletions
diff --git a/do b/do
new file mode 100755
index 0000000..7dd1f98
--- /dev/null
+++ b/do
@@ -0,0 +1,22 @@
+#! /bin/bash
+
+ARGS="ctags desktop:run"
+
+function gradlew_do()
+{
+ echo "./gradlew $ARGS" && ./gradlew $ARGS || exit 1
+}
+
+case "$1" in
+# dist
+ "d")
+ shift;
+ ARGS="desktop:dist $@"
+ gradlew_do
+ ;;
+ *)
+ ARGS="$ARGS $@"
+ gradlew_do
+ ;;
+esac
+