rebar3_hex
rebar3_hex copied to clipboard
support for optional_applications
Support for optional_applications
will be merged into OTP soon: https://github.com/erlang/otp/pull/2675
This plugin should support it by checking optional_applications
and marking any dependency that is found in that list as optional when publishing to hex.
Support has been added to relx and rebar3 in 3.18.0. So ready for rebar3_hex to support.
Basing it on the .app
file is just my initial thought. It would remove the need to change rebar.config (which right now has no concept of optional).