Created
June 12, 2012 00:50
-
-
Save isao/2913722 to your computer and use it in GitHub Desktop.
mojito jslint via git pre-commit hook
This file contains 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/sh | |
# run jslint before every commit | |
# install: copy this in path/to/mojito/.git/hooks/pre-commit, chmod +x !$ | |
./source/bin/mojito jslint | |
# for unit tests.. | |
#./source/bin/mojito test app . | |
#./source/bin/mojito test mojit mojits/.. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment