Skip to content

Instantly share code, notes, and snippets.

@sue71
Created May 26, 2014 07:43
Show Gist options
  • Save sue71/2e7ea037d994f3659797 to your computer and use it in GitHub Desktop.
Save sue71/2e7ea037d994f3659797 to your computer and use it in GitHub Desktop.
#!/bin/sh
grunt jshint
if [ $? -ne 0 ]; then
echo \"can not commit for jshint fails\"
exit 1
fi
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment