diff options
author | Maurice Laveaux <m.laveaux@student.tue.nl> | 2014-05-07 12:34:44 +0200 |
---|---|---|
committer | Maurice Laveaux <m.laveaux@student.tue.nl> | 2014-05-07 12:34:44 +0200 |
commit | 6769ea13c045c93f2394b8ed536d5522f4712745 (patch) | |
tree | 79b8f4cb51ec6e174cb8dc1588545d2e0093388e | |
parent | a3303f1fe119f963edec13c48286cc5d8cdcc5eb (diff) | |
download | Datafiller-6769ea13c045c93f2394b8ed536d5522f4712745.tar.gz |
Copied and refactored the shell script.
* nbproject changed somehow.
-rw-r--r-- | nbproject/configs/Simpel.properties | 0 | ||||
-rwxr-xr-x | run.sh | 14 |
2 files changed, 14 insertions, 0 deletions
diff --git a/nbproject/configs/Simpel.properties b/nbproject/configs/Simpel.properties new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/nbproject/configs/Simpel.properties @@ -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" "$@" |