Danger Plugin for reporting Android build errors and warnings
Add this line to your Gemfile:
gem danger-chikuwa
Redirect the standard and error output of the command line build to a text file. Change the build flavor as needed.
$ ./gradlew assembleDebug 2>&1 | tee build.log
Add a line to your Dangerfile.
chikuwa.report "build.log"
Optionally supports inline comments.
chikuwa.inline_mode = true
Here is a sample repository.
watanavex/android-check-for-chikuwa#5
- 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.