2017 © Pedro Peláez
 

application gitamine

git hooks manager

image

gitamine/gitamine

git hooks manager

  • Saturday, February 10, 2018
  • by xgc1986
  • Repository
  • 1 Watchers
  • 3 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 15 Versions
  • 0 % Grown

The README.md

Gitamine

US: /ɡɪtəˈ.miː.n/ \ UK: /ɡɪtˈæ.miːn/, (*1)

requirements

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

Installation

$ composer global require gitamine/gitamine 

Usage

In your git project run:, (*2)

$ gitamine init

After that you will need to create in your root project folder a gitamine file, (*3)

# 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., (*4)

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

How to create a plugin

TODO, (*5)

The Versions