-
Notifications
You must be signed in to change notification settings - Fork 519
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
[Feature] Dialyzer plugin option to save raw output to the dialyzer warnings file #2524
Comments
yeah that sounds like something that would require an absolute minimal amount of code and should be no problem to support by just dropping the |
I found that the But, I still wanted paths relative to project root, and also wanted to extract app names (for multi-app projects). So, went with a custom rebar plugin approach to generate the HTML. Another benefit of running as a plugin: I can use the Will raise the PR for raw output format. |
Oh, that's nice. @srijan, if you share details on what JS lib. you used I/we could work on a plugin for this - what say you? |
@paulo-ferraz-oliveira - this is the plugin: https://github.com/srijan/rebar3_dialyzer_html (still work in progress, so ignore the bad code). I'm using ansi_up to convert the warning text after page load. One potential improvement is to actually do the conversion in Erlang side to remove the dependency on JS. |
Ah, it's already a plugin. Good 😄 Don't forget to announce when 0.1.0 (or whatever you choose comes out) on Slack. Will take a look. Great stuff, thanks. |
Dialyzer supports the
--raw
flag to:This will let us process the result file using Erlang code to output an HTML page.
Suggested option name:
output_format
, with possible values:formatted
andraw
, with default asformatted
.If people are okay with this, I can raise a PR with a cleaned up version of greyorange@9e65394
The text was updated successfully, but these errors were encountered: