From f51edf61c89dc8f70d232b2495f1b62a9e36b43c Mon Sep 17 00:00:00 2001 From: Marian Steinbach Date: Fri, 15 Mar 2024 11:18:57 +0100 Subject: [PATCH] Add -e flag to go list command --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f88facaa5..0543cbe2b 100644 --- a/Makefile +++ b/Makefile @@ -74,7 +74,7 @@ $(BIN_DIR): $(TOOLING): $(BIN_DIR) @echo Installing tools from hack/tools.go - @cd scripts && go list -mod=mod -tags tools -f '{{ range .Imports }}{{ printf "%s\n" .}}{{end}}' ./ | xargs -tI % go build -mod=mod -o $(BIN_DIR) % + @cd scripts && go list -e -mod=mod -tags tools -f '{{ range .Imports }}{{ printf "%s\n" .}}{{end}}' ./ | xargs -tI % go build -mod=mod -o $(BIN_DIR) % ######################################## # "check-with-upstream" workflow checks.