From b386665e665bf3fb77cc92ca9998e2c56ba50ed7 Mon Sep 17 00:00:00 2001 From: HeshamTB Date: Mon, 11 Jan 2021 02:16:07 +0300 Subject: [PATCH] Simple run script for MacOS/Linux --- run.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 run.sh diff --git a/run.sh b/run.sh new file mode 100755 index 0000000..e36c04a --- /dev/null +++ b/run.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +jav=$(command -v java) + +if [ -z "$jav" ]; then + >&2 echo "Can't find java installation" +else + java -jar out/artifacts/Hajj_simulation_jar/Hajj-simulation.jar +fi