summaryrefslogtreecommitdiff
path: root/src/rebar_prv_compile.erl
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2019-06-02 13:52:47 -0400
committerFred Hebert <mononcqc@ferd.ca>2019-06-02 13:52:47 -0400
commit5c89f25d1083aebd366c3dd9841e9e0616c4b617 (patch)
tree435e13d5c7107a1f8a22fffdcdb93f9cfcb6e9fb /src/rebar_prv_compile.erl
parent2a38e6bdae6f93d746921cf45e624fc9a8c48d8c (diff)
Only lint app files when compiling
This allows to reduce the number of noise to only checking deps' app files when they're built, rather than on every run. Since main apps and checkouts are still compiled every time, the linting takes place there and then with a higher frequency.
Diffstat (limited to 'src/rebar_prv_compile.erl')
-rw-r--r--src/rebar_prv_compile.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rebar_prv_compile.erl b/src/rebar_prv_compile.erl
index cf2bcf2..2919c40 100644
--- a/src/rebar_prv_compile.erl
+++ b/src/rebar_prv_compile.erl
@@ -247,6 +247,7 @@ has_all_artifacts(AppInfo1) ->
{false, File} ->
throw(?PRV_ERROR({missing_artifact, File}));
true ->
+ rebar_app_utils:lint_app_info(AppInfo1),
true
end.