build(Makefile): erlfmt all escript files
This commit is contained in:
parent
ef0bebd7b9
commit
3fd5ab2782
2
Makefile
2
Makefile
|
@ -317,6 +317,8 @@ $(foreach tt,$(ALL_ELIXIR_TGZS),$(eval $(call gen-elixir-tgz-target,$(tt))))
|
|||
fmt: $(REBAR)
|
||||
@$(SCRIPTS)/erlfmt -w 'apps/*/{src,include,priv,test,integration_test}/**/*.{erl,hrl,app.src,eterm}'
|
||||
@$(SCRIPTS)/erlfmt -w 'rebar.config.erl'
|
||||
@$(SCRIPTS)/erlfmt -w '$(SCRIPTS)/**/*.escript'
|
||||
@$(SCRIPTS)/erlfmt -w 'bin/**/*.escript'
|
||||
@mix format
|
||||
|
||||
.PHONY: clean-test-cluster-config
|
||||
|
|
Loading…
Reference in New Issue