Kaynağa Gözat

fix(bpapi): Move static checks to test directory

k32 4 yıl önce
ebeveyn
işleme
aa54c6135b
2 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      Makefile
  2. 0 0
      apps/emqx/test/emqx_bpapi_static_checks.erl

+ 2 - 2
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)
 

apps/emqx/src/bpapi/emqx_bpapi_static_checks.erl → apps/emqx/test/emqx_bpapi_static_checks.erl