#!/usr/bin/env bash set -uo pipefail # when executed as executable file in "git for windows" bash some things won't work, so always run with prefixed command originDir=$(pwd); cd ~/zeitlaeufer/; tmpDir="/tmp/zeitlaeufer_$RANDOM"; mkdir $tmpDir; cp dist/zeitlaeufer.jar $tmpDir; cd $originDir; # java -cp $tmpDir/zeitlaeufer.jar $@; # -p <=> --module-path | -m <=> --module java --module-path $tmpDir/zeitlaeufer.jar --module zeitlaeufer/$@; rm -r $tmpDir;