https://github.com/noboru-i/danger-checkstyle_format
Danger plugin for checkstyle formatted xml file.
https://github.com/noboru-i/danger-checkstyle_format
Last synced: 1 day ago
JSON representation
Danger plugin for checkstyle formatted xml file.
- Host: GitHub
- URL: https://github.com/noboru-i/danger-checkstyle_format
- Owner: noboru-i
- License: mit
- Created: 2017-08-29T09:58:11.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-07-21T19:34:10.000Z (almost 2 years ago)
- Last Synced: 2025-03-31T21:42:53.550Z (about 1 month ago)
- Language: Ruby
- Homepage: https://rubygems.org/gems/danger-checkstyle_format
- Size: 22.5 KB
- Stars: 26
- Watchers: 1
- Forks: 25
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-danger - danger-checkstyle_format - Danger plugin for checkstyle formatted xml file. (Plugins / Ruby (danger))
README
[](https://travis-ci.org/noboru-i/danger-checkstyle_format)
# 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.