From 5c89f25d1083aebd366c3dd9841e9e0616c4b617 Mon Sep 17 00:00:00 2001 From: Fred Hebert Date: Sun, 2 Jun 2019 13:52:47 -0400 Subject: 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. --- src/rebar_prv_compile.erl | 1 + 1 file changed, 1 insertion(+) (limited to 'src/rebar_prv_compile.erl') 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. -- cgit v1.1