Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/passy/android-lint-summary
Prettier display of Android Lint issues
https://github.com/passy/android-lint-summary
Last synced: 4 days ago
JSON representation
Prettier display of Android Lint issues
- Host: GitHub
- URL: https://github.com/passy/android-lint-summary
- Owner: passy
- License: apache-2.0
- Created: 2015-05-22T13:14:31.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-12-09T22:27:23.000Z (about 7 years ago)
- Last Synced: 2024-05-19T06:02:00.685Z (8 months ago)
- Language: Haskell
- Homepage: https://passy.github.io/android-lint-summary
- Size: 831 KB
- Stars: 178
- Watchers: 8
- Forks: 12
- Open Issues: 3
-
Metadata Files:
- Readme: README.markdown
- License: LICENSE
Awesome Lists containing this project
- awesome-android-tools - Android Lint Summary - View your Android lint issues with style. (CLI Tool)
README
> View your Android lint issues with style.
[![Build Status](https://travis-ci.org/passy/android-lint-summary.svg)](https://travis-ci.org/passy/android-lint-summary)
## 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](https://raw.githubusercontent.com/passy/android-lint-summary/master/resources/screenshot.png)
## Installation
Grab the latest build for your platform from the [releases page](https://github.com/passy/android-lint-summary/releases).
If your platform isn't there, you can build it yourself with [stack](https://github.com/commercialhaskell/stack):
``` sh
$ git clone https://github.com/passy/android-lint-summary
$ cd android-lint-summary
$ stack setup
$ stack install
```## Using
``` sh
$ 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](https://asciinema.org/a/23302.png)](https://asciinema.org/a/23302)
## Gradle Integration
Check out the [LintSummary Sample](https://github.com/passy/Android-LintSummarySample/)
to see how to integrate this with your gradle build.If you copy this [gradle script](https://github.com/passy/Android-LintSummarySample/blob/d7403205fc423d5c42c5ded97756b6c5aca074e5/gradle/lint-summary.gradle)
to your project, you can enable it with just one line per sub-project.## `--help`
```
$ android-lint-summary --helpandroid-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 nicelyAvailable 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](https://twitter.com/sindresorhus) for making
this gorgeous logo.