Make bundle
ing and npm install
ing easy
This repo has some handy handy hooks to run bundle
or npm install
whenever you:
git checkout
a new branch with a different Gemfile or package.jsongit pull
a change to Gemfile or package.json
How can I has this!!?
git clone https://gist.github.com/5869846.git hooks && cd hooks && chmod +x install
./install [path to folder where you keep all your repos]
This will install these hooks globally, and then re-init any repos it finds, installing your shiny new hooks along the way.
Things have gone wrong and I am sad!!1
You can uninstall these hooks by running ./install [path to your folders] remove
.