ci: fix `make fmt` to take into account checkouts and elixir deps

This commit is contained in:
Thales Macedo Garitezi 2024-06-06 16:53:30 -03:00
parent 07a3fbaf1a
commit c0c5545c21
1 changed files with 5 additions and 1 deletions

View File

@ -322,7 +322,11 @@ fmt: $(REBAR)
-name '*.hrl' -o \
-name 'rebar.config' -o \
-name '*.eterm' -o \
-name '*.escript' \) -not -path '*/_build/*' -type f \
-name '*.escript' \) \
-not -path '*/_build/*' \
-not -path '*/deps/*' \
-not -path '*/_checkouts/*' \
-type f \
| xargs $(SCRIPTS)/erlfmt -w
@$(SCRIPTS)/erlfmt -w 'apps/emqx/rebar.config.script'
@$(SCRIPTS)/erlfmt -w 'elvis.config'