From b473dcf2641308f5e88e95c9f3d3a76f68840562 Mon Sep 17 00:00:00 2001 From: fszimnau Date: Thu, 4 Sep 2025 16:29:35 +0200 Subject: [PATCH] create jar --- deployProject.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/deployProject.sh b/deployProject.sh index 02bc6ad..222ea39 100644 --- a/deployProject.sh +++ b/deployProject.sh @@ -1,8 +1,10 @@ #!/usr/bin/env bash set -uo pipefail -if [[ -d dist/ ]]; then - rm -r dist/; +if [[ ! -e dist ]]; then + mkdir dist; fi - -cp -r target/ dist/; +rm -r dist/* 2>/dev/null; +cd target/; +jar cf ../dist/zeitlaeufer.jar **/*; +cd ..;