Skip to content

Instantly share code, notes, and snippets.

@timrwood
Created September 30, 2013 22:09
Show Gist options
  • Save timrwood/6771045 to your computer and use it in GitHub Desktop.
Save timrwood/6771045 to your computer and use it in GitHub Desktop.
Add Grunt build pre push git hook
cd $(git rev-parse --show-toplevel)/.git/hooks/ && echo -e '#!/bin/sh\n\ngrunt build' > pre-push && chmod 755 pre-push && cd -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment