pre-commit-make

0.0.6 • Public • Published

pre-commit-make

Runs make post-merge command after git pull or merge.

NPM

Build status dependencies devdependencies endorse

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

Package Sidebar

Install

npm i pre-commit-make

Weekly Downloads

1

Version

0.0.6

License

MIT

Last publish

Collaborators

  • bahmutov