summaryrefslogtreecommitdiffstats
path: root/do
blob: 7dd1f9827bfcaee47153cf1afb808beb92f254f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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