Commit 22426036 authored by Christian Meyer's avatar Christian Meyer
Browse files

added run: small bash script to run launcher via gradle

build.gradle
    changed zmt-build dependency to 1.4
parent 3daeb5af
......@@ -8,7 +8,7 @@ buildscript {
}
dependencies {
classpath 'de.zmt:zmt-build:1.2.+'
classpath 'de.zmt:zmt-build:1.4.+'
}
}
......
#!/usr/bin/env bash
# runs launcher via gradle with the supplied arguments
# usage: -Pargs='<args>' for launcher arguments
# usage: -PworkingDir='<workingDir>' to set a specific working directory for the launcher
LAUNCHER_DIR="$(dirname "${BASH_SOURCE[0]}")"
WORKING_DIR="$(readlink -f ./)"
./gradlew run -p $LAUNCHER_DIR --quiet -Pargs="$*" -PworkingDir="$WORKING_DIR"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment