From 33d2bb3f74576e8043a1d1d3d8817948704fc100 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julio=20L=C3=B3pez?= <1953782+julio-lopez@users.noreply.github.com> Date: Tue, 10 Feb 2026 21:04:29 -0800 Subject: [PATCH] chore(ci): add install-checklocks convenience target (#5152) --- tools/tools.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/tools.mk b/tools/tools.mk index d91f479a9..a0740fa6f 100644 --- a/tools/tools.mk +++ b/tools/tools.mk @@ -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)