Skip to content

Commit

Permalink
Changed from plugins to project_plugins (#444)
Browse files Browse the repository at this point in the history
Reason:
If antidote is used as dependency the rebar3_lint plugin is not required and should not be compiled
See:
https://rebar3.org/docs/plugins/#project-plugins-and-overriding-commands
  • Loading branch information
FairPlayer4 committed Sep 21, 2020
1 parent 5f64618 commit 927654f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@

%% Do not update this dependency without testing lint
%% Something is broken in the rebar3 build process that causes this plugin to call modules that are not its actual dependencies
%% This should actually be executed in a lint profile
{plugins, [{rebar3_lint, {git, "https://github.com/project-fifo/rebar3_lint.git", {tag, "v0.1.10"}}}]}.
{project_plugins, [{rebar3_lint, "0.1.10"}]}.

{profiles, [
{test, [
Expand Down

0 comments on commit 927654f

Please sign in to comment.