summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nbproject/configs/Simpel.properties0
-rwxr-xr-xrun.sh14
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
diff --git a/run.sh b/run.sh
new file mode 100755
index 0000000..a8eba08
--- /dev/null
+++ b/run.sh
@@ -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" "$@"