From e983b0573a64052719902516f2cc0c6a520225fd Mon Sep 17 00:00:00 2001 From: Duncan McGreggor Date: Mon, 2 Sep 2024 19:52:15 -0500 Subject: [PATCH] Switch to using project_plugins instead. --- rebar.config | 11 +++++++---- rebar.lock | 11 ----------- src/ltest.app.src | 3 +-- 3 files changed, 8 insertions(+), 17 deletions(-) delete mode 100644 rebar.lock diff --git a/rebar.config b/rebar.config index b17a8b2..a11513e 100644 --- a/rebar.config +++ b/rebar.config @@ -9,9 +9,9 @@ {color, "~> 1.0", {pkg, erlang_color}} ]}. -{plugins, [ - {rebar3_lfe, "~> 0.4.9"}, - {rebar_cmd, "0.2.6"} +{project_plugins, [ + {rebar3_lfe, "~> 0.4.11"}, + {rebar3_oscmd, "0.5.0"} ]}. {provider_hooks, [ @@ -31,6 +31,9 @@ {test, [ {eunit_opts, [verbose]}, {erl_opts, [{src_dirs, ["src", "test"]}]} + ]}, + {maintainer, [ + {deps, [rebar3_hex]} ]} ]}. @@ -50,6 +53,6 @@ %%dialyzer, eunit, %%coverage, - {cmd, "ltest"} + {oscmd, "ltest"} ]} ]}. diff --git a/rebar.lock b/rebar.lock deleted file mode 100644 index d7ecc28..0000000 --- a/rebar.lock +++ /dev/null @@ -1,11 +0,0 @@ -{"1.2.0", -[{<<"color">>,{pkg,<<"erlang_color">>,<<"1.0.0">>},0}, - {<<"lfe">>,{pkg,<<"lfe">>,<<"2.1.3">>},0}]}. -[ -{pkg_hash,[ - {<<"color">>, <<"145FE1D2E65C4516E4F03FEFCA6C2F47EBAD5899D978D70382A5CFE643E4AC9E">>}, - {<<"lfe">>, <<"6EFCB2BBC1FFC21DC5D1C092F00EFDB397EAC889474AC5C86EDF78A3557CC730">>}]}, -{pkg_hash_ext,[ - {<<"color">>, <<"6B17E5E589C8FEF540574C9EA32B67CEC2C8A44283AAFE474D6E5818FB3EE038">>}, - {<<"lfe">>, <<"4E4BAD515A169AE418FEB7374EA1C8D741FAEA9D95E266CE343B45BCC377F55B">>}]} -]. diff --git a/src/ltest.app.src b/src/ltest.app.src index e189ea9..05a5df2 100644 --- a/src/ltest.app.src +++ b/src/ltest.app.src @@ -5,7 +5,7 @@ {description, "A Testing Framework for LFE"}, %% The version of the application - {vsn, "0.13.8"}, + {vsn, "0.13.9"}, %% All modules used by the application. {modules, @@ -44,7 +44,6 @@ {env, []}, %% Hex.pm metadata {pkg_name, ltest}, - {maintainers, ["Duncan McGreggor"]}, {licenses, ["BSD-3"]}, {links, [{"GitHub", "https://github.com/lfex/ltest"},