Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 921 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 921 Bytes

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.