'Generic Commit'
Some checks failed
Build-Test-Publish / build (push) Failing after 48s

This commit is contained in:
Your Name 2025-06-01 20:08:47 +12:00
parent fb994dbf31
commit df1cab23ce

View File

@ -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"