BoxLang 🚀 A New JVM Dynamic Language Learn More...

CommandBox Git Hooks

v1.0.2 CommandBox Modules

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

$ box install commandbox-githooks

No collaborators yet.
     
  • {{ getFullDate("2017-09-13T23:35:33Z") }}
  • {{ getFullDate("2017-11-13T10:16:40Z") }}
  • 4,917
  • 222