Apply section heads to test output for clarity.

This also removes a test setup command that added an uploads directory.
It's no longer necessary.
This commit is contained in:
dandds
2019-09-25 10:36:49 -04:00
parent 8d7c7a0d6e
commit 6c22d5a524
4 changed files with 28 additions and 7 deletions

View File

@@ -53,3 +53,19 @@ reset_db() {
# Seed database data
seed_db
}
output_divider() {
if tty -s; then
echo "$( tput bold )$( tput smul )$( tput setaf 6 )${1}$( tput sgr 0)"
else
echo $1
fi
}
warning() {
if tty -s; then
echo "$( tput bold )$( tput setaf 1 )${1}$( tput sgr 0)"
else
echo $1
fi
}