-
Notifications
You must be signed in to change notification settings - Fork 4
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
Adding html_support #27
base: main
Are you sure you want to change the base?
Conversation
rules/impl.bzl
Outdated
outputs.append(html_output) | ||
|
||
label = ctx.attr.android_home.label | ||
if ctx.attr.android_home: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't look like its intended to be in this PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
D'oh good catch
bddd6d2
to
0768997
Compare
rules/impl.bzl
Outdated
@@ -63,7 +64,7 @@ def _run_android_lint( | |||
android_lint_skip_bytecode_verifier: Disables bytecode verification | |||
""" | |||
inputs = [] | |||
outputs = [output] | |||
outputs = [output, html_output] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be great to support customizing the output format so that the user can pick which formats they want. Having to write them all out all the time also seems inefficient.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we rename --output to --xml-output then to be explicit?
I'm thinking that we should flag it in the entrypoint .bzl:
html_output = True
xml_output = True
8bdf1ee
to
b71d87e
Compare
b71d87e
to
97ab9b8
Compare
These is a large refactor that involves renaming "output" to "xml_output" and "html_output" to distinguish the two. To invoke the output distinction, the api would look like
|
Exposing the htmlOutput flag for android lint