android-lint-summary
passy
172
Visit GitHub RepoStatic Analysis Tools


android-lint-summary


View your Android lint issues with style.

Build Status

Features

  • Combines multiple projects into one output. You no longer need to check each and every of your subprojects' lint results for errors.
  • View all your issues nicely formatted in your terminal.
  • Default arguments that do what you probably want them to.

Screenshot

Installation

Grab the latest build for your platform from the releases page.

If your platform isn't there, you can build it yourself with stack:

$ git clone https://github.com/passy/android-lint-summary
$ cd android-lint-summary
$ stack setup
$ stack install

Using

$ cd my-android-project
$ ./gradle lint
# Search in your current working directory
$ android-lint-summary
# Or search for a different pattern
$ android-lint-summary -g '**/lint-summary*.xml'
# Or point directly to a file
$ android-lint-summary app/build/outputs/lint-summary.xml
# Or read from stdin
$ android-lint-summary - < app/build/outputs/lint-summary.xml

Watch this ASCIICast to see it in action:

asciicast

Gradle Integration

Check out the LintSummary Sample to see how to integrate this with your gradle build.

If you copy this gradle script to your project, you can enable it with just one line per sub-project.

--help

$ android-lint-summary --help

android-lint-summary - a lint-results.xml pretty printer

Usage: android-lint-summary [FILES] [-g|--glob ARG] [-f|--formatter ARG]
                            [-v|--verbose]
  Format Android Lint XML output nicely

Available options:
  -h,--help                Show this help text
  -g,--glob ARG            Glob pattern to select result
                           files (default: "**/build/outputs/lint-results.xml")
  -f,--formatter ARG       Specify a formatter to use
                           [simple|null] (default: "simple")
  -v,--verbose             Enable verbose mode
  -V,--version             Show version information

Developing

$ stack setup
$ stack build
$ stack test
$ stack exec android-lint-summary

Credits

Massive thanks to Sindre Sorhus for making this gorgeous logo.

Become a better Android Developer
Millions of developers are learning at MindOrks

Online Training Program

Featured Blogs

Our Team

MindOrks is Certainly one of the best online blog to stay on top of all the Android development news, coding and design patterns. Finally a blog I can count on to keep myself updated with latest and greatest things happening in Android world.

Vipul Shah
Android Developer
Microsoft

Become Pro in Android by watching videos

OUR LEARNERS WORK AT