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.
- Host: GitHub
- URL: https://github.com/shogo4405/danger-inspect
- Owner: shogo4405
- License: mit
- Created: 2021-10-02T21:47:58.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-10T11:40:19.000Z (over 3 years ago)
- Last Synced: 2024-11-17T11:56:39.377Z (6 months ago)
- Language: Ruby
- Homepage:
- Size: 7.81 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# danger-inspect
Danger plugin for code inspections.
|IntelliJ IDEA|Danger|
|:-:|:-:|
||
## 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.