Unify formatting and linting

Ensures optimal formatting in addition to linting during manual deploys
and during pre-commit actions.
This commit is contained in:
2021-11-06 03:10:17 -04:00
parent adc767e32f
commit 4eb0f3bb8a
5 changed files with 13 additions and 7 deletions

View File

@ -27,9 +27,9 @@ fi
HOSTS=( ${@} )
echo "> Deploying to host(s): ${HOSTS[@]}"
# Lint to prevent deploying bad code
echo -n "Linting code for errors... "
./lint || exit
# Prepare code
echo "Preparing code (format and lint)..."
./prepare || exit
# Build the packages
echo -n "Building packages... "