Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 850 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 850 Bytes

rubocop-teamcity-formatter

Build Status Report RuboCop offences as TeamCity Service Messages

Usage

Add to Gemfile, for example:

group :development do
  gem 'rubocop-teamcity-formatter', git: 'https://github.com/govtechsg/rubocop-teamcity-formatter.git', require: false
end

When running rubocop for Teamcity:

TEAMCITY_FMT_PATH="`bundle show rubocop-teamcity-formatter`/lib/rubocop/formatter/teamcity-formatter.rb"
bundle exec rubocop -r ${TEAMCITY_FMT_PATH} --format RuboCop::Formatter::TeamCityFormatter

Contributing

See CONTRIBUTING.md for how to send issues and pull requests