gitamine/gitamine

git hooks manager

Installs: 12

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 2

Forks: 1

Open Issues: 0

Type:application

1.1.2 2018-01-09 23:15 UTC

README

US: /ɡɪtəˈ.miː.n/
UK: /ɡɪtˈæ.miːn/

requirements

  • Linux/Mac
  • php7.1
  • php curl
  • php zip
  • Git

Installation

$ composer global require gitamine/gitamine 

Usage

In your git project run:

$ gitamine init

After that you will need to create in your root project folder a gitamine file

# gitamine.yaml
gitamine:
    __event__:
        __plugin1__: ~
        __plugin2__: ~
        #...

For example, this will assure that the commit will execute phpunit, and if it fails, then the commit won't be done.

# gitamine.yaml
gitamine:
    pre-commit:
        phpunit: ~

How to create a plugin

TODO