danger-periphery
A Danger plugin to identify unused code using Periphery.
This plugin is heavily inspired by danger-swiftlint.
This plugin is under development.
Installation
Add this line to your Gemfile:
gem 'danger-periphery'
Periphery also needs to be installed before you run Danger.
Usage
Add this to your Dangerfile
:
periphery.scan_files
ToDo
- support of periphery's option parameters
- test
Development
- Clone this repo
- Run
bundle install
to setup dependencies. - Run
bundle exec rake spec
to run the tests. - Use
bundle exec guard
to automatically have tests run as you make changes. - Make your changes.