diff --git a/buildtestpublish_all.sh b/buildtestpublish_all.sh index 1d2f8f0..03067fe 100755 --- a/buildtestpublish_all.sh +++ b/buildtestpublish_all.sh @@ -52,21 +52,30 @@ function title() { echo } +function subtitle() { + local subtitle="$1" + echo " " + echo "--------------------------------" + echo "$subtitle" + echo " " +} + function buildtestpublish() { local dir="$1" - title "PROCESSING $dir" + TOOLNAME=$(basename "$dir") + TOOLNAME=$(echo "$TOOLNAME" | tr '[:lower:]' '[:upper:]') + title "🔧 $TOOLNAME 🔧" cd "$dir" - TOOLNAME=$(basename "$dir") - echo "Building $TOOLNAME" + subtitle "🔨 BUILDING $TOOLNAME 🔨" dothis build "$dir" - echo "Testing $TOOLNAME" + subtitle "🔍 TESTING $TOOLNAME 🔍" dothis test "$dir" - echo "Publishing $TOOLNAME" + subtitle "📦 PUBLISHING $TOOLNAME 📦" dothis publish "$dir" echo "Done"