summaryrefslogtreecommitdiff
path: root/run.sh
blob: a8eba08380976ba1ce9cb46e4ffa2e01b505df3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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" "$@"