Skip to content

GovTechSG/rubocop-teamcity-formatter

Repository files navigation

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

Development

# Running unit tests
bundle exec rspec

# Building the gem
gem build rubocop-teamcity-formatter.gemspec 

Contributing

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

About

Report RuboCop offences as TeamCity Service Messages

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages