erlef / rebar3_hex

Rebar3 Hex library
Apache License 2.0
101 stars 49 forks source link

support for optional_applications #195

Open tsloughter opened 3 years ago

tsloughter commented 3 years ago

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.

tsloughter commented 2 years ago

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).