-
Notifications
You must be signed in to change notification settings - Fork 581
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bear proposal : AndroidBear #1534
Comments
Please can you elaborate the approach that is needed to write AndroidBear. |
Hey, so the basic idea is to wrap http://tools.android.com/tips/lint/ into a bear. For the approach, you can read https://api.coala.io/en/latest/Developers/Writing_Linter_Bears.html guide. |
Hi. I'm new here, could you explain where the .exe file for this will go in the package? The tutorial works with |
You would declare an |
I'm not sure if Android Studio (which is the usual way to install Android dev tools) places those tools into the PATH. We should have a fallback checking for example for |
The Android Studio does not include |
So seems there are many different ways to export those linting binaries. Looks like we have to write custom requirement classes accounting for the most popular ones^^ But shouldn't be too hard 👍 |
Can someone guide me how to write tests for this bear ? Also should an option for various checks be provided? |
@aashraybhandar1 see other test files 👍
Definitely 👍 |
Apart from the IntelliJ and Eclipse integrations, Android's "lint" also has a CLI tool which can be wrapped to make AndroidBear.
http://tools.android.com/tips/lint/
http://tools.android.com/tips/lint-checks
The text was updated successfully, but these errors were encountered: