erlang / rebar3

Erlang build tool that makes it easy to compile and test Erlang applications and releases.
http://www.rebar3.org
Apache License 2.0
1.69k stars 515 forks source link

xref optional dependencies #2396

Open tsloughter opened 3 years ago

tsloughter commented 3 years ago

I realized a drawback to how xref now only adds the runtime applications to analyze.

For apps with optional dependencies it means there is no way to include them in the analysis (aside from using a .app.src.script file).

Adding this to track the issue but I'm hoping we can just wait for https://github.com/erlang/otp/pull/2675 but if it gets rejected we'll want to add a xref_additional_apps or something similar.

ferd commented 3 years ago

yeah currently there's xref_extra_paths that can sorta do that.