Skip to content

Instantly share code, notes, and snippets.

@isao
Created June 6, 2012 18:29
Show Gist options
  • Save isao/2883750 to your computer and use it in GitHub Desktop.
Save isao/2883750 to your computer and use it in GitHub Desktop.
put this in path/to/mojito/.git/hooks to run jslint before every commit
#!/bin/sh
# run jslint before every commit
# to install, cp to path/to/mojito/.git/hooks/pre-commit && chmod +x !$
./source/bin/mojito jslint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment