misumirize/git-validate

CLI tool for Git hook validation

v0.1.0 2014-12-11 13:19 UTC

This package is not auto-updated.

Last update: 2024-03-26 00:32:57 UTC


README

GitValidate is a CLI tool for Git hook validation.

Requirement

  • PHP >= 5.4
  • symfony/console
  • symfony/process
  • phine/path

Installation

Symlink

$ ln -s /path/to/bin/validate /path/to/repo/.git/hooks/pre-commit

.validate.json

{
    "pre-commit": "test",
    "scripts": {
        "test": "phpunit"
    }
}