chore: run xref before dialyzer in make static_checks
This commit is contained in:
parent
5258b4c6e9
commit
ac65ce2947
2
Makefile
2
Makefile
|
@ -80,7 +80,7 @@ ct: $(REBAR) merge-config
|
||||||
## only check bpapi for enterprise profile because it's a super-set.
|
## only check bpapi for enterprise profile because it's a super-set.
|
||||||
.PHONY: static_checks
|
.PHONY: static_checks
|
||||||
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 $(REBAR) ct --suite apps/emqx/test/emqx_static_checks --readable $(CT_READABLE); fi
|
||||||
@if [ "$${PROFILE}" = 'emqx-enterprise' ]; then ./scripts/check-i18n-style.sh; fi
|
@if [ "$${PROFILE}" = 'emqx-enterprise' ]; then ./scripts/check-i18n-style.sh; fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue