Simple run script for MacOS/Linux

This commit is contained in:
HeshamTB 2021-01-11 02:16:07 +03:00
parent 5e1ff6451c
commit b386665e66

9
run.sh Executable file
View File

@ -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