A description of danger-detect_unused_definition.
$ gem install danger-detect_unused_definition
Methods and attributes from this plugin are available in
your Dangerfile under the detect_unused_definition namespace.
detect_unused_definition.allow_paths = ["SampleApp", "SampleAppTests"]
detect_unused_definition.deny_paths = ["Model/*"]
detect_unused_definition.detect
- Clone this repo
- Run
bundle installto setup dependencies. - Run
bundle exec rake specto run the tests. - Use
bundle exec guardto automatically have tests run as you make changes. - Make your changes.