This commit is contained in:
parent
fb994dbf31
commit
df1cab23ce
@ -52,21 +52,30 @@ function title() {
|
|||||||
echo
|
echo
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function subtitle() {
|
||||||
|
local subtitle="$1"
|
||||||
|
echo " "
|
||||||
|
echo "--------------------------------"
|
||||||
|
echo "$subtitle"
|
||||||
|
echo " "
|
||||||
|
}
|
||||||
|
|
||||||
function buildtestpublish() {
|
function buildtestpublish() {
|
||||||
local dir="$1"
|
local dir="$1"
|
||||||
|
|
||||||
title "PROCESSING $dir"
|
TOOLNAME=$(basename "$dir")
|
||||||
|
TOOLNAME=$(echo "$TOOLNAME" | tr '[:lower:]' '[:upper:]')
|
||||||
|
title "🔧 $TOOLNAME 🔧"
|
||||||
|
|
||||||
cd "$dir"
|
cd "$dir"
|
||||||
TOOLNAME=$(basename "$dir")
|
|
||||||
|
|
||||||
echo "Building $TOOLNAME"
|
subtitle "🔨 BUILDING $TOOLNAME 🔨"
|
||||||
dothis build "$dir"
|
dothis build "$dir"
|
||||||
|
|
||||||
echo "Testing $TOOLNAME"
|
subtitle "🔍 TESTING $TOOLNAME 🔍"
|
||||||
dothis test "$dir"
|
dothis test "$dir"
|
||||||
|
|
||||||
echo "Publishing $TOOLNAME"
|
subtitle "📦 PUBLISHING $TOOLNAME 📦"
|
||||||
dothis publish "$dir"
|
dothis publish "$dir"
|
||||||
|
|
||||||
echo "Done"
|
echo "Done"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user