Danger plugin for checkstyle formatted xml file.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.gitignore
.rubocop.yml
.travis.yml
Gemfile
Gemfile.lock
Guardfile
LICENSE.txt
README.md
Rakefile
danger-checkstyle_format.gemspec

README.md

Build Status

danger-checkstyle_format

Danger plugin for checkstyle formatted xml file.

Installation

$ gem install danger-checkstyle_format

Usage

Parse the XML file, and let the plugin do your reporting
checkstyle_format.base_path = Dir.pwd
checkstyle_format.report 'app/build/reports/checkstyle/checkstyle.xml'
Parse the XML text, and let the plugin do your reporting
checkstyle_format.base_path = Dir.pwd
checkstyle_format.report_by_text '

Development

  1. Clone this repo
  2. Run bundle install to setup dependencies.
  3. Run bundle exec rake spec to run the tests.
  4. Use bundle exec guard to automatically have tests run as you make changes.
  5. Make your changes.