Merge pull request #13201 from thalesmg/fix-fmt-m-20240606

ci: fix `make fmt` to take into account checkouts and elixir deps
This commit is contained in:
Thales Macedo Garitezi 2024-06-07 09:20:57 -03:00 committed by GitHub
commit 2828e8a5c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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'