mirror of https://github.com/docker/cli.git
Makefile: add missing help messages for some targets
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
73b05aaa82
commit
258640ab49
2
Makefile
2
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
|
find scripts/ contrib/completion/bash -type f | grep -v scripts/winresources | grep -v '.*.ps1' | xargs shellcheck
|
||||||
|
|
||||||
.PHONY: fmt
|
.PHONY: fmt
|
||||||
fmt:
|
fmt: ## run gofmt
|
||||||
go list -f {{.Dir}} ./... | xargs gofmt -w -s -d
|
go list -f {{.Dir}} ./... | xargs gofmt -w -s -d
|
||||||
|
|
||||||
.PHONY: binary
|
.PHONY: binary
|
||||||
|
|
|
@ -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)
|
DOCKER_RUN := docker run --rm $(ENVVARS) $(DOCKER_CLI_MOUNTS) $(DOCKER_RUN_NAME_OPTION)
|
||||||
|
|
||||||
.PHONY: binary
|
.PHONY: binary
|
||||||
binary:
|
binary: ## build executable
|
||||||
PACKAGER_NAME=$(PACKAGER_NAME) docker buildx bake binary
|
PACKAGER_NAME=$(PACKAGER_NAME) docker buildx bake binary
|
||||||
|
|
||||||
build: binary ## alias for binary
|
build: binary ## alias for binary
|
||||||
|
|
Loading…
Reference in New Issue