danger-inspect

Danger plugin for code inspections.

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

Installation

$ gem install danger-inspect

Usage

Inspect

Run code inspections from the command line.

$ idea.sh inspect #{workspace} #{workspace}/inspect.xml /path/to/inspect-result_dir
$ /opt/android-studio/bin/inspect.sh #{workspace} #{workspace}/inspect.xml /path/to/inspect-result_dir

Dangerfile

Please inspect before danger step.

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.