diff --git a/example.sh b/example.sh new file mode 100755 index 0000000..c2572f4 --- /dev/null +++ b/example.sh @@ -0,0 +1,65 @@ +#!/usr/bin/env bash + +cd `dirname $0` + +## set remote server ip address or alias name +server="" + +set -e + +while getopts a?t:m:p: OPT; do + case $OPT in + a) arguments=$OPTARG + ;; + t) tasks=$OPTARG + ;; + m) module_dir=$OPTARG + ;; + p) project_dir=$OPTARG + ;; + esac +done + +# unescape +gradle_args=`echo $arguments | perl -pe "s/(?