25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

Rename plugin to not clash with plugin from dep

This commit is contained in:
Paweł Chmielowski 2020-01-08 10:37:09 +01:00
parent 97da380acd
commit 4c61e465ca
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
-module(override_deps_versions). -module(override_deps_versions2).
-export([preprocess/2, 'pre_update-deps'/2, new_replace/1, new_replace/0]). -export([preprocess/2, 'pre_update-deps'/2, new_replace/1, new_replace/0]).
preprocess(Config, _Dirs) -> preprocess(Config, _Dirs) ->
@ -55,7 +55,7 @@ replace_mod(Beam) ->
Call = case Name of Call = case Name of
new -> new ->
[erl_syntax:application( [erl_syntax:application(
erl_syntax:abstract(override_deps_versions), erl_syntax:abstract(override_deps_versions2),
erl_syntax:abstract(new_replace), erl_syntax:abstract(new_replace),
Args)]; Args)];
_ -> _ ->

View File

@ -109,7 +109,7 @@
{if_rebar3, {plugins, [rebar3_hex, {provider_asn1, "0.2.0"}]}}. {if_rebar3, {plugins, [rebar3_hex, {provider_asn1, "0.2.0"}]}}.
{if_not_rebar3, {plugins, [ {if_not_rebar3, {plugins, [
deps_erl_opts, override_deps_versions, override_opts, configure_deps, deps_erl_opts, override_deps_versions2, override_opts, configure_deps,
{if_var_true, elixir, rebar_elixir_compiler}, {if_var_true, elixir, rebar_elixir_compiler},
{if_var_true, elixir, rebar_exunit} {if_var_true, elixir, rebar_exunit}
]}}. ]}}.