diff --git a/Makefile b/Makefile index 33052d6f9..7b152e4ae 100644 --- a/Makefile +++ b/Makefile @@ -56,8 +56,8 @@ ct: $(REBAR) conf-segs @ENABLE_COVER_COMPILE=1 $(REBAR) ct --name $(CT_NODE_NAME) -c -v .PHONY: static_checks -static_checks: dialyzer xref - @$(REBAR) ct --suite apps/emqx/test/emqx_bpapi_suite --readable false +static_checks: + @$(REBAR) as check do xref, dialyzer, ct --suite apps/emqx/test/emqx_bpapi_suite --readable false APPS=$(shell $(CURDIR)/scripts/find-apps.sh) diff --git a/apps/emqx/src/bpapi/emqx_bpapi_static_checks.erl b/apps/emqx/test/emqx_bpapi_static_checks.erl similarity index 100% rename from apps/emqx/src/bpapi/emqx_bpapi_static_checks.erl rename to apps/emqx/test/emqx_bpapi_static_checks.erl