chore: run xref before dialyzer in make static_checks

This commit is contained in:
Ivan Dyachkov 2023-03-15 19:33:08 +01:00
parent 5258b4c6e9
commit ac65ce2947
1 changed files with 1 additions and 1 deletions

View File

@ -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