Przeglądaj źródła

chore: run xref before dialyzer in make static_checks

Ivan Dyachkov 3 lat temu
rodzic
commit
ac65ce2947
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -80,7 +80,7 @@ ct: $(REBAR) merge-config
 ## only check bpapi for enterprise profile because it's a super-set.
 .PHONY: static_checks
 static_checks:
-	@$(REBAR) as check do dialyzer, xref
+	@$(REBAR) as check do xref, dialyzer
 	@if [ "$${PROFILE}" = 'emqx-enterprise' ]; then $(REBAR) ct --suite apps/emqx/test/emqx_static_checks --readable $(CT_READABLE); fi
 	@if [ "$${PROFILE}" = 'emqx-enterprise' ]; then ./scripts/check-i18n-style.sh; fi