Skip to content

elpete/commandbox-githooks

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

commandbox-githooks

Manage your git hooks with CommandBox

Installation

Install this package and set up your project to use it:

box install commandbox-githooks
cd my-git-project
box githooks install

Add your scripts to a githooks key in the box.json:

{
  "githooks": {
    "preCommit": "testbox run",
    "postCheckout": [
      "install",
      "!npm install",
      "!gulp"
    ]
  }
}

Example

commandbox-githooks example

Note: In order to work correctly, the path to box or box.exe must be in your system's PATH variable.

About

Manage your git hooks with CommandBox

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •