From aa54c6135bbda4ae83d667f95444bd0b8e39a00d Mon Sep 17 00:00:00 2001 From: k32 <10274441+k32@users.noreply.github.com> Date: Thu, 13 Jan 2022 20:48:08 +0100 Subject: [PATCH] fix(bpapi): Move static checks to test directory --- Makefile | 4 ++-- apps/emqx/{src/bpapi => test}/emqx_bpapi_static_checks.erl | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename apps/emqx/{src/bpapi => test}/emqx_bpapi_static_checks.erl (100%) 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