fix(bpapi): Compile the code in check profile before running xref
This commit is contained in:
parent
c39665edbd
commit
ace6ad25e9
2
Makefile
2
Makefile
|
@ -73,7 +73,7 @@ ct: $(REBAR) conf-segs
|
|||
|
||||
.PHONY: 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)
|
||||
|
||||
|
|
|
@ -218,7 +218,7 @@ dump() ->
|
|||
case
|
||||
{
|
||||
filelib:wildcard(project_root_dir() ++ "/*_plt"),
|
||||
filelib:wildcard(project_root_dir() ++ "/_build/emqx*/lib")
|
||||
filelib:wildcard(project_root_dir() ++ "/_build/check/lib")
|
||||
}
|
||||
of
|
||||
{[PLT | _], [RelDir | _]} ->
|
||||
|
|
Loading…
Reference in New Issue