git-hooks

Pre-push

  • Run coffeelint on the app and spec directories
  • Print GitHub compare URL for the branch

Requirements

CoffeeLint:

npm install -g coffeelint

Installation

rm -r /path/to/my-repository/.git/hooks
ln -s /path/to/git-hooks/ /path/to/my-repository/.git/hooks