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:
commit
2828e8a5c5
6
Makefile
6
Makefile
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue