diff --git a/Makefile b/Makefile index d699f71504..991d91504a 100644 --- a/Makefile +++ b/Makefile @@ -34,7 +34,7 @@ shellcheck: ## run shellcheck validation find scripts/ contrib/completion/bash -type f | grep -v scripts/winresources | grep -v '.*.ps1' | xargs shellcheck .PHONY: fmt -fmt: +fmt: ## run gofmt go list -f {{.Dir}} ./... | xargs gofmt -w -s -d .PHONY: binary diff --git a/docker.Makefile b/docker.Makefile index 83df195156..562ef3757c 100644 --- a/docker.Makefile +++ b/docker.Makefile @@ -35,7 +35,7 @@ DOCKER_RUN_NAME_OPTION := $(if $(DOCKER_CLI_CONTAINER_NAME),--name $(DOCKER_CLI_ DOCKER_RUN := docker run --rm $(ENVVARS) $(DOCKER_CLI_MOUNTS) $(DOCKER_RUN_NAME_OPTION) .PHONY: binary -binary: +binary: ## build executable PACKAGER_NAME=$(PACKAGER_NAME) docker buildx bake binary build: binary ## alias for binary