build(Makefile): erlfmt all escript files

This commit is contained in:
JimMoen 2023-11-08 11:32:49 +08:00
parent ef0bebd7b9
commit 3fd5ab2782
No known key found for this signature in database
GPG Key ID: 87A520B4F76BA86D
1 changed files with 2 additions and 0 deletions

View File

@ -317,6 +317,8 @@ $(foreach tt,$(ALL_ELIXIR_TGZS),$(eval $(call gen-elixir-tgz-target,$(tt))))
fmt: $(REBAR) fmt: $(REBAR)
@$(SCRIPTS)/erlfmt -w 'apps/*/{src,include,priv,test,integration_test}/**/*.{erl,hrl,app.src,eterm}' @$(SCRIPTS)/erlfmt -w 'apps/*/{src,include,priv,test,integration_test}/**/*.{erl,hrl,app.src,eterm}'
@$(SCRIPTS)/erlfmt -w 'rebar.config.erl' @$(SCRIPTS)/erlfmt -w 'rebar.config.erl'
@$(SCRIPTS)/erlfmt -w '$(SCRIPTS)/**/*.escript'
@$(SCRIPTS)/erlfmt -w 'bin/**/*.escript'
@mix format @mix format
.PHONY: clean-test-cluster-config .PHONY: clean-test-cluster-config