make fmt
so any contributor can enforce formatting
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
446e00520c
commit
65696bb1cb
5
Makefile
5
Makefile
@ -116,6 +116,11 @@ cache-clear: ## Clear the builder cache
|
|||||||
lint: ## run linter(s)
|
lint: ## run linter(s)
|
||||||
$(BUILDX_CMD) bake lint
|
$(BUILDX_CMD) bake lint
|
||||||
|
|
||||||
|
.PHONY: fmt
|
||||||
|
fmt:
|
||||||
|
gofumpt --version >/dev/null 2>&1 || go install mvdan.cc/gofumpt@latest
|
||||||
|
gofumpt -w .
|
||||||
|
|
||||||
.PHONY: docs
|
.PHONY: docs
|
||||||
docs: ## generate documentation
|
docs: ## generate documentation
|
||||||
$(eval $@_TMP_OUT := $(shell mktemp -d -t compose-output.XXXXXXXXXX))
|
$(eval $@_TMP_OUT := $(shell mktemp -d -t compose-output.XXXXXXXXXX))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user