25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

Rebar3: Workaround to fix protocol consolidation

This commit is contained in:
Badlop 2023-12-25 13:28:44 +01:00
parent a6c1e42c0a
commit 2d067f7498

View File

@ -144,7 +144,14 @@
{if_var_true, tools, tools}]}]}.
{if_rebar3, {plugins, [rebar3_hex, {provider_asn1, "0.2.0"},
{if_var_true, elixir, rebar_mix}]}}.
%% Protocol consolidation doesn't work correctly in upstream rebar_mix, see
%% https://github.com/Supersonido/rebar_mix/issues/27#issuecomment-894873335
%% Let's use this fixed rebar_mix fork, see its PR:
%% https://github.com/Supersonido/rebar_mix/pull/31
{if_var_true, elixir, {rebar_mix, ".*",
{git, "https://github.com/bsanyi/rebar_mix.git",
{branch, "consolidation_fix"}}}
}]}}.
{if_rebar3, {project_plugins, [configure_deps]}}.
{if_not_rebar3, {plugins, [
deps_erl_opts, override_deps_versions2, override_opts, configure_deps