fix(bpapi): Compile the code in check profile before running xref

This commit is contained in:
ieQu1 2022-05-12 11:06:06 +02:00
parent c39665edbd
commit ace6ad25e9
2 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ ct: $(REBAR) conf-segs
.PHONY: static_checks .PHONY: static_checks
static_checks: static_checks:
@$(REBAR) as check do xref, dialyzer, ct --suite apps/emqx/test/emqx_static_checks --readable $(CT_READABLE) @$(REBAR) as check do dialyzer, xref, ct --suite apps/emqx/test/emqx_static_checks --readable $(CT_READABLE)
APPS=$(shell $(CURDIR)/scripts/find-apps.sh) APPS=$(shell $(CURDIR)/scripts/find-apps.sh)

View File

@ -218,7 +218,7 @@ dump() ->
case case
{ {
filelib:wildcard(project_root_dir() ++ "/*_plt"), filelib:wildcard(project_root_dir() ++ "/*_plt"),
filelib:wildcard(project_root_dir() ++ "/_build/emqx*/lib") filelib:wildcard(project_root_dir() ++ "/_build/check/lib")
} }
of of
{[PLT | _], [RelDir | _]} -> {[PLT | _], [RelDir | _]} ->