Skip to content

Instantly share code, notes, and snippets.

@isao
Created June 12, 2012 00:50
Show Gist options
  • Save isao/2913722 to your computer and use it in GitHub Desktop.
Save isao/2913722 to your computer and use it in GitHub Desktop.
mojito jslint via git pre-commit hook
#!/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