summaryrefslogtreecommitdiffstats
path: root/run
blob: 70e8d91aeb04b91bfc8ea88b5bb0d7169c7aa7e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /bin/bash
[ -d out ] && rm -fr out

if [ $# -gt 0 ]; then
    if [ "$1" = "c" ]; then
        ./gradlew clean packs desktop:run
    elif [ "$1" = "a" ]; then
        ./gradlew android:installDebug android:run
    else
        ./gradlew desktop:run
    fi
else
    ./gradlew desktop:run
fi