You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the package dependencies which are not listed in {applications, ...} in app.src, but are listed in {deps, [...]} in rebar.config get included in the resulting escript even though the should not;
the source dependencies which are listed in {applications, ...} in app.src don't get included in the resulting escript even though they should.
rebar_prv_install_deps:do seems to be called before rebar_prv_escriptize:do due to plugin dependency chain: escript -> compile -> lock -> install_deps.
This way all the {deps, [...]} specified in rebar.config (be it top-level or application-level one) get unconditionally included into the final escript instead of relying on {applications, ...} property of app.src.
This includes two cases:
{applications, ...}
inapp.src
, but are listed in{deps, [...]}
inrebar.config
get included in the resulting escript even though the should not;{applications, ...}
inapp.src
don't get included in the resulting escript even though they should.Discovered while discussing #1137.
Attaching minimal project that reproduces both cases: rebar-1139.tar.gz.
The text was updated successfully, but these errors were encountered: