Sha256: d3cf985d8d16ef483d6648aed53421d173139dcf478682ea234751b2da3434bb

Contents?: true

Size: 1.01 KB

Versions: 5

Compression:

Stored size: 1.01 KB

Contents

[![Build Status](https://travis-ci.org/noboru-i/danger-checkstyle_format.svg?branch=master)](https://travis-ci.org/noboru-i/danger-checkstyle_format)

# danger-checkstyle_format

Danger plugin for checkstyle formatted xml file.

## Installation

```bash
$ gem install danger-checkstyle_format
```

## Usage

Parse an XML file, and let the plugin do your reporting:

```ruby
checkstyle_format.base_path = Dir.pwd
checkstyle_format.report 'app/build/reports/checkstyle/checkstyle.xml'
```

Parse some XML text, and let the plugin do your reporting:

```ruby
checkstyle_format.base_path = Dir.pwd
checkstyle_format.report_by_text '<?xml ...'
```

## 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.

## Publishing

How to build a gem:

```
gem build danger-checkstyle_xml.gemspec
```

How to publish a gem:

```
gem push danger-checkstyle_xml-VERSION.gem
```

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
danger-checkstyle_xml-0.0.5 README.md
danger-checkstyle_xml-0.0.4 README.md
danger-checkstyle_xml-0.0.3 README.md
danger-checkstyle_xml-0.0.2 README.md
danger-checkstyle_xml-0.0.1 README.md