chore(ci): add install-checklocks convenience target (#5152)

This commit is contained in:
Julio López
2026-02-10 21:04:29 -08:00
committed by GitHub
parent f6e3c40a24
commit 33d2bb3f74

View File

@@ -6,7 +6,7 @@
#
# you will need to have git and golang too in the PATH.
.PHONY: all-tools install-linter install-gotestsum
.PHONY: all-tools install-checklocks install-gotestsum install-linter
# windows,linux,darwin
GOOS:=$(shell go env GOOS)
@@ -168,6 +168,8 @@ $(checklocks):
go install gvisor.dev/gvisor/tools/checklocks/cmd/checklocks@$(CHECKLOCKS_VERSION)
go clean -modcache
install-checklocks: $(checklocks)
# cli2md
cli2mdbin=$(TOOLS_DIR)$(slash)cli2md-current$(exe_suffix)
@@ -322,4 +324,4 @@ regenerate-checksums:
--output-dir /tmp/all-tools \
--tool $(ALL_TOOL_VERSIONS)
all-tools: install-gotestsum $(npm) install-linter $(maybehugo)
all-tools: install-gotestsum install-linter $(maybehugo) $(npm)