diff options
Diffstat (limited to 'run.sh')
-rwxr-xr-x | run.sh | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -0,0 +1,14 @@ +#!/bin/sh +# You should build the jar file with `ant jar`, then run this script + +# Exit on errors +set -e + +# Change dir to project +cd "$(dirname "$(readlink -f "$0")")" + +jar=dist/Datafiller.jar +# Build jar if missing +[ -e "$jar" ] || ant jar + +java -jar "$jar" "$@" |