This commit is contained in:
parent
400101da34
commit
acca1e3ed4
1 changed files with 13 additions and 2 deletions
|
@ -1,5 +1,9 @@
|
||||||
# !/usr/bin/env bash
|
# !/usr/bin/env bash
|
||||||
|
|
||||||
|
## mfgames-project:v0.0.0
|
||||||
|
|
||||||
|
## mfgames-project
|
||||||
|
|
||||||
# Variables
|
# Variables
|
||||||
version=0.0.0
|
version=0.0.0
|
||||||
|
|
||||||
|
@ -37,8 +41,15 @@ do
|
||||||
then
|
then
|
||||||
grep 'log() { echo' $script >> .mfgames-project.tmp
|
grep 'log() { echo' $script >> .mfgames-project.tmp
|
||||||
else
|
else
|
||||||
unicode=$(unipicker)
|
case $script in
|
||||||
echo "log() { echo \"$unicode \$(basename \$0): \$@\"; }" >> .mfgames-project.tmp
|
build.sh) unicode="🚧" ;;
|
||||||
|
release.sh) unicode="🚢" ;;
|
||||||
|
setup.sh) unicode="🌱" ;;
|
||||||
|
test.sh) unicode="🧪" ;;
|
||||||
|
*) unicode=$(unipicker) ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
echo "log() { echo \"$unicode \$(basename \$0): \$@\"; }" >> .mfgames-project.tmp
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "cd \$(dirname \$(dirname \$0))" >> .mfgames-project.tmp
|
echo "cd \$(dirname \$(dirname \$0))" >> .mfgames-project.tmp
|
||||||
|
|
Loading…
Reference in a new issue