An open API service indexing awesome lists of open source software.

https://github.com/shogo4405/danger-inspect

Danger plugin for Code inspections.
https://github.com/shogo4405/danger-inspect

Last synced: 7 days ago
JSON representation

Danger plugin for Code inspections.

Awesome Lists containing this project

README

        

# danger-inspect

Danger plugin for code inspections.

|IntelliJ IDEA|Danger|
|:-:|:-:|
|スクリーンショット 2021-10-10 15 12 11|スクリーンショット 2021-10-10 15 21 35

## Installation
```sh
$ gem install danger-inspect
```

## Usage

### Inspect
[Run code inspections from the command line.](https://www.jetbrains.com/help/idea/command-line-code-inspector.html)
```sh
$ idea.sh inspect #{workspace} #{workspace}/inspect.xml /path/to/inspect-result_dir
```
```sh
$ /opt/android-studio/bin/inspect.sh #{workspace} #{workspace}/inspect.xml /path/to/inspect-result_dir
```

### Dangerfile
*Please inspect before danger step.*
```rb
inspect.report 'path/to/inspect-result_dir'
```

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