12 lines
284 B
Bash
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 ..;
|