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

12 lines
284 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 [[ ! -e dist ]]; then
mkdir dist;
fi
rm -r dist/* 2>/dev/null;
cd target/;
jar cf ../dist/zeitlaeufer.jar **/*;
cd ..;