Selaa lähdekoodia

Merge pull request #6744 from k32/bpapi-fix-warns

fix(bpapi): Move static checks to test directory
k32 4 vuotta sitten
vanhempi
commit
aed010da05
2 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  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