76 lines
2.3 KiB
Diff
76 lines
2.3 KiB
Diff
diff -ruNp cli-20.10.8/Makefile cli-20.10.8.new/Makefile
|
|
--- cli-20.10.8/Makefile 2021-07-29 16:55:47.000000000 +0300
|
|
+++ cli-20.10.8.new/Makefile 2021-08-23 01:18:35.303197616 +0300
|
|
@@ -31,49 +31,49 @@ lint: ## run all the lint tools
|
|
|
|
.PHONY: binary
|
|
binary:
|
|
- ./scripts/build/binary
|
|
+ /bin/bash scripts/build/binary
|
|
|
|
.PHONY: plugins
|
|
plugins: ## build example CLI plugins
|
|
- ./scripts/build/plugins
|
|
+ /bin/bash /scripts/build/plugins
|
|
|
|
.PHONY: cross
|
|
cross:
|
|
- ./scripts/build/binary
|
|
+ /bin/bash scripts/build/binary
|
|
|
|
.PHONY: plugins-windows
|
|
plugins-windows: ## build example CLI plugins for Windows
|
|
- ./scripts/build/plugins-windows
|
|
+ /bin/bash scripts/build/plugins-windows
|
|
|
|
.PHONY: plugins-osx
|
|
plugins-osx: ## build example CLI plugins for macOS
|
|
- ./scripts/build/plugins-osx
|
|
+ /bin/bash scripts/build/plugins-osx
|
|
|
|
.PHONY: dynbinary
|
|
dynbinary: ## build dynamically linked binary
|
|
- GO_LINKMODE=dynamic ./scripts/build/binary
|
|
+ GO_LINKMODE=dynamic /bin/bash scripts/build/binary
|
|
|
|
vendor: vendor.conf ## check that vendor matches vendor.conf
|
|
rm -rf vendor
|
|
- bash -c 'vndr |& grep -v -i clone | tee ./vndr.log'
|
|
- scripts/validate/check-git-diff vendor
|
|
- scripts/validate/check-all-packages-vendored
|
|
+ /bin/bash -c 'vndr |& grep -v -i clone | tee ./vndr.log'
|
|
+ /bin/bash scripts/validate/check-git-diff vendor
|
|
+ /bin/bash scripts/validate/check-all-packages-vendored
|
|
|
|
.PHONY: authors
|
|
authors: ## generate AUTHORS file from git history
|
|
- scripts/docs/generate-authors.sh
|
|
+ /bin/bash scripts/docs/generate-authors.sh
|
|
|
|
.PHONY: manpages
|
|
manpages: ## generate man pages from go source and markdown
|
|
- scripts/docs/generate-man.sh
|
|
+ /bin/bash scripts/docs/generate-man.sh
|
|
|
|
.PHONY: yamldocs
|
|
yamldocs: ## generate documentation YAML files consumed by docs repo
|
|
- scripts/docs/generate-yaml.sh
|
|
+ /bin/bash scripts/docs/generate-yaml.sh
|
|
|
|
.PHONY: shellcheck
|
|
shellcheck: ## run shellcheck validation
|
|
- scripts/validate/shellcheck
|
|
+ /bin/bash scripts/validate/shellcheck
|
|
|
|
.PHONY: help
|
|
help: ## print this help
|
|
@@ -84,7 +84,7 @@ cli/compose/schema/bindata.go: cli/compo
|
|
go generate github.com/docker/cli/cli/compose/schema
|
|
|
|
compose-jsonschema: cli/compose/schema/bindata.go ## generate compose-file schemas
|
|
- scripts/validate/check-git-diff cli/compose/schema/bindata.go
|
|
+ /bin/bash scripts/validate/check-git-diff cli/compose/schema/bindata.go
|
|
|
|
.PHONY: ci-validate
|
|
ci-validate:
|