Skip to content

hyuraku/rbgithook

Repository files navigation

Rbgithook

Simple Git hook made by Ruby

Installation

Add this line to your application's Gemfile:

gem 'rbgithook'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install rbgithook

Usage

rbgithook install
rbgithook set <file> <cmd> ex. rbgithook add pre-commit "rspec spec/"
rbgithook add <file> <cmd> ex. rbgithook add pre-commit "rubocop -a"
rbgithook uninstall

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/hyuraku/rbgithook. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the Rbgithook project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.