pre-commit-make
Runs make command before commit
Last updated 7 years ago by bahmutov .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install pre-commit-make 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.0.6                                ...           latest (7 years ago)

4 Versions

  • 0.0.6                                ...           7 years ago
  • 0.0.5                                ...           7 years ago
  • 0.0.4                                ...           7 years ago
  • 0.0.2                                ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (6)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |