From: Kai Moritz <kai@juplo.de> Date: Sat, 15 Mar 2025 16:05:45 +0000 (+0100) Subject: Branch-Typ `livecoding` in `COPY.sh` ergänzt X-Git-Url: https://juplo.de/gitweb/?a=commitdiff_plain;h=ddcebaa445a64bb53e79a1031b249c247ee33d0d;p=demos%2Fkafka%2Ftraining Branch-Typ `livecoding` in `COPY.sh` ergänzt --- diff --git a/COPY.sh b/COPY.sh index 1c30b43d..5d284133 100755 --- a/COPY.sh +++ b/COPY.sh @@ -2,6 +2,7 @@ set -e VORLAGEN=../vorlagen +LIVECODING=../livecoding MUSTERLOESUNGEN=../spickzettel source BRANCHES.sh @@ -33,6 +34,12 @@ do mkdir -p $VORLAGEN/$vorlage/ rsync -av --exclude=.git --exclude=target --exclude=.idea --exclude=.gradle --exclude=build --exclude=BRANCHES.sh --exclude=BUILD.sh --exclude=COPY.sh --exclude=DIFF.sh --exclude=.gitignore --exclude=PUSH.sh --exclude=REBASE.sh --exclude=RESET.sh --exclude=TAG.sh . $VORLAGEN/$vorlage/ ;; + *--livecoding) + livecoding=$(echo $branch |sed -e 's/--livecoding$//') + echo "Live-Coding: $livecoding" + mkdir -p $LIVECODING/$livecoding/ + rsync -av --exclude=.git --exclude=target --exclude=.idea --exclude=.gradle --exclude=build --exclude=BRANCHES.sh --exclude=BUILD.sh --exclude=COPY.sh --exclude=DIFF.sh --exclude=.gitignore --exclude=PUSH.sh --exclude=REBASE.sh --exclude=RESET.sh --exclude=TAG.sh . $LIVECODING/$livecoding/ + ;; *) echo "Lösung: $branch" mkdir -p $MUSTERLOESUNGEN/$branch/