Add linting to build-and-deploy
Ensures that bad code isn't deployed during testing.
This commit is contained in:
		@@ -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[@]}"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user