Rename plugin to not clash with plugin from dep

pull/3142/head
Paweł Chmielowski 3 years ago
parent 97da380acd
commit 4c61e465ca
  1. 4
      plugins/override_deps_versions2.erl
  2. 2
      rebar.config

@ -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]).
preprocess(Config, _Dirs) ->
@ -55,7 +55,7 @@ replace_mod(Beam) ->
Call = case Name of
new ->
[erl_syntax:application(
erl_syntax:abstract(override_deps_versions),
erl_syntax:abstract(override_deps_versions2),
erl_syntax:abstract(new_replace),
Args)];
_ ->

@ -109,7 +109,7 @@
{if_rebar3, {plugins, [rebar3_hex, {provider_asn1, "0.2.0"}]}}.
{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_exunit}
]}}.

Loading…
Cancel
Save