cleversteam-style
RuboCop implementation for Cleversteam projects. Based on percy-style.
Installation
Add this line to your application's Gemfile:
group :test, :development do
gem 'cleversteam-style'
end
Or for a Ruby gem/library, add this to your gemspec:
spec.add_development_dependency 'cleversteam-style'
And then execute:
$ bundle install
Usage
Create a file in your project root called .rubocop.yml
with the following:
inherit_gem:
cleversteam-style:
- default.yml
And then execute:
$ bundle exec rubocop
You do not need to include rubocop directly in your application's dependencies as this gem includes rubocop
and rubocop-rspec
.
Releasing
To release a new version, update the version number in version.rb
, and then run bundle exec rake release
, which will create a git tag for the version, push git commits and tags, and push the .gem
file to rubygems.org.