Files
zeitlaeufer/compileProject.sh
2025-09-04 16:53:52 +02:00

10 lines
261 B
Bash

#!/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
if [[ $# -ge 1 && $1 == "clean" ]]; then
rm -r target/;
fi
javac -Xlint -d target/ src/**/*.java;