From 5b3bb9f306d19e8ac77f8043de86ea7898be4078 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Thu, 7 Oct 2021 11:51:05 -0400 Subject: [PATCH] Add linting to build-and-deploy Ensures that bad code isn't deployed during testing. --- build-and-deploy.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build-and-deploy.sh b/build-and-deploy.sh index 81e38b0e..866618e7 100755 --- a/build-and-deploy.sh +++ b/build-and-deploy.sh @@ -12,6 +12,9 @@ else SUDO="sudo" fi +echo -n "> Linting code for errors... " +./lint || exit + HOSTS=( ${@} ) echo "> Deploying to host(s): ${HOSTS[@]}"