misumirize/git-validate

用于Git钩子验证的命令行工具

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

This package is not auto-updated.

Last update: 2024-09-24 03:13:15 UTC


README

GitValidate是一个用于Git钩子验证的命令行工具。

要求

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

安装

符号链接

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

.validate.json

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