pre-commit-make
Runs make post-merge
command after git pull or merge.
Installation
From the root of your repo:
npm install pre-commit-make
If you have Node package.json, save this module as a dev dependency using --save-dev
Configuration
Specify target in your Makefile
pre-commit: build test
build: ...
install: ...
If you want to skip git's pre-commit hook, just commit with -n
option.
Related
Run make post-merge
command after merging with
post-merge-make
Run different commands from Node project on commit or push using pre-git
Small print
Author: Gleb Bahmutov © 2014
License: MIT - do anything with the code, but don't blame me if it does not work.
Spread the word: tweet, star on github, etc.
Support: if you find any problems with this module, email / tweet / open issue on Github
License
MIT