Skip to content

Commit

Permalink
Moved proper to project_plugins (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
albsch committed Sep 21, 2020
1 parent 2d56a20 commit f83dacf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ dialyzer:
${REBAR} dialyzer

lint:
${REBAR} as lint lint
${REBAR} lint
11 changes: 3 additions & 8 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{xref_checks, [ undefined_function_calls, locals_not_used, deprecated_function_calls ]}.

%% Code formatter
{plugins, [rebar3_format, rebar3_proper]}.
{project_plugins, [rebar3_format, rebar3_lint, rebar3_proper]}.
{format, [ {formatter, otp_formatter} ]}.

%%-------------------------------------------------------------------
Expand All @@ -21,17 +21,12 @@
{plugins, [{coveralls, {git, "https://github.com/markusn/coveralls-erl", {branch, "master"}}}]},
{deps, [meck]}
]},
{docs, [{deps, [{edown, "0.7.0"}]}]},
{proper, [
{erl_opts, [nowarn_export_all,{d, 'PROPER'}, {d, 'TEST'}]},
{erl_opts, [nowarn_export_all, {d, 'PROPER'}, {d, 'TEST'}]},
{plugins, [{coveralls, {git, "https://github.com/markusn/coveralls-erl", {branch, "master"}}}]},
{deps, [meck, {proper, "1.3.0"}, recon]}
]},
{lint, [
{plugins, [
{rebar3_lint, {git, "https://github.com/project-fifo/rebar3_lint.git", {tag, "0.1.11"}}}
]}
]}
{docs, [{deps, [{edown, "0.7.0"}]}]}
]}.

{cover_enabled, true}.
Expand Down

0 comments on commit f83dacf

Please sign in to comment.