Created
February 26, 2014 05:48
-
-
Save fkei/9224237 to your computer and use it in GitHub Desktop.
git#pre-commit : precommit grunt-jshint checker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
grunt jshint | |
[ $? -ne 0 ] && echo "grunt jshint error" && exit 1 | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment