## github.com/docker/cli## Sets the name of the company that produced the windows binary.PACKAGER_NAME ?=# The repository doesn't have a go.mod, but "go list", and "gotestsum"# expect to be run from a module.GO111MODULE=autoexport GO111MODULEall: binary_:=$(shell ./scripts/warn-outside-container $(MAKECMDGOALS)).PHONY: devdev: ## start a build container in interactive mode for in-container development@if [ -n "${DISABLE_WARN_OUTSIDE_CONTAINER}" ]; then \echo "you are already in the dev container"; \else \$(MAKE) -f docker.Makefile dev; \fi.PHONY: shellshell: dev ## alias for dev.PHONY: cleanclean: ## remove build artifactsrm -rf ./build/* man/man[1-9] docs/yaml.PHONY: testtest: test-unit ## run tests.PHONY: test-unittest-unit: ## run unit tests, to change the output format use: GOTESTSUM_FORMAT=(dots|short|standard-quiet|short-verbose|standard-verbose) make test-unitgotestsum -- $${TESTDIRS:-$(shell go list ./... | grep -vE '/vendor/|/e2e/')} $(TESTFLAGS).PHONY: test-coveragetest-coverage: ## run test coveragemkdir -p $(CURDIR)/build/coveragegotestsum -- $(shell go list ./... | grep -vE '/vendor/|/e2e/') -coverprofile=$(CURDIR)/build/coverage/coverage.txt.PHONY: lintlint: ## run all the lint toolsgolangci-lint run.PHONY: shellcheckshellcheck: ## run shellcheck validationfind scripts/ contrib/completion/bash -type f | grep -v scripts/winresources | grep -v '.*.ps1' | xargs shellcheck.PHONY: fmtfmt: ## run gofumpt (if present) or gofmt@if command -v gofumpt > /dev/null; then \gofumpt -w -d -lang=1.21 . ; \else \go list -f {{.Dir}} ./... | xargs gofmt -w -s -d ; \fi.PHONY: binarybinary: ## build executable for Linux./scripts/build/binary.PHONY: dynbinarydynbinary: ## build dynamically linked binaryGO_LINKMODE=dynamic ./scripts/build/binary.PHONY: pluginsplugins: ## build example CLI plugins./scripts/build/plugins.PHONY: vendorvendor: ## update vendor with go modulesrm -rf vendor./scripts/vendor update.PHONY: validate-vendorvalidate-vendor: ## validate vendor./scripts/vendor validate.PHONY: mod-outdatedmod-outdated: ## check outdated dependencies./scripts/vendor outdated.PHONY: authorsauthors: ## generate AUTHORS file from git historyscripts/docs/generate-authors.sh.PHONY: completioncompletion: binarycompletion: /etc/bash_completion.d/dockercompletion: ## generate and install the completion scripts.PHONY: /etc/bash_completion.d/docker/etc/bash_completion.d/docker: ## generate and install the bash-completion scriptmkdir -p /etc/bash_completion.ddocker completion bash > /etc/bash_completion.d/docker.PHONY: manpagesmanpages: ## generate man pages from go source and markdownscripts/docs/generate-man.sh.PHONY: mddocsmddocs: ## generate markdown files from go sourcescripts/docs/generate-md.sh.PHONY: yamldocsyamldocs: ## generate documentation YAML files consumed by docs reposcripts/docs/generate-yaml.sh.PHONY: helphelp: ## print this help@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z0-9_-]+:.*?## / {gsub("\\\\n",sprintf("\n%22c",""), $2ドル);printf "033円[36m%-20s033円[0m %s\n", $1,ドル $2ドル}' $(MAKEFILE_LIST)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。