Просмотр исходного кода

chore: run xref before dialyzer in make static_checks

Ivan Dyachkov 3 лет назад
Родитель
Сommit
ac65ce2947
1 измененных файлов с 1 добавлено и 1 удалено
  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