From ddcebaa445a64bb53e79a1031b249c247ee33d0d Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Sat, 15 Mar 2025 17:05:45 +0100 Subject: [PATCH] =?utf8?q?Branch-Typ=20`livecoding`=20in=20`COPY.sh`=20erg?= =?utf8?q?=C3=A4nzt?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- COPY.sh | 7 +++++++ 1 file changed, 7 insertions(+) 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/ -- 2.20.1