[erlang-questions] rebar3 release add extra directories

Mattsson, Tommy tommy.mattsson@REDACTED
Mon Apr 8 16:56:12 CEST 2019


I am trying to build a release using rebar3. The release is supposed to include nitrogen which has some extra directories that needs to be included. For example the dependency simple_bridge has a directory named "etc" that needs to end up in the release.

When using reltool for creatiing the release it is possible to to add this in the a config file

{app, simple_bridge,                    [{incl_cond, include},
                                         {mod, yaws_simple_bridge_sup, [{incl_cond, exclude}]},
                                         {incl_app_filters, ["^include", "^priv", "^ebin", "^etc"]},

But when using rebar3 and relx I can't find any options for relx that acts in a similar way as the incl_app_filters option does for reltool.
Am I missing something or does the functionality just not exist for relx? If it doesn't exist, does anyone have an idea of if and/or when it will be added?

Best regards,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20190408/467475a1/attachment.htm>

More information about the erlang-questions mailing list