Add linting to build-and-deploy

Ensures that bad code isn't deployed during testing.
This commit is contained in:
Joshua Boniface 2021-10-07 11:51:05 -04:00
parent 5501586a47
commit 5b3bb9f306
1 changed files with 3 additions and 0 deletions

View File

@ -12,6 +12,9 @@ else
SUDO="sudo" SUDO="sudo"
fi fi
echo -n "> Linting code for errors... "
./lint || exit
HOSTS=( ${@} ) HOSTS=( ${@} )
echo "> Deploying to host(s): ${HOSTS[@]}" echo "> Deploying to host(s): ${HOSTS[@]}"