From 7c00b1fb3bcbeb16f4a61b9831c75fd2cbf18d6e Mon Sep 17 00:00:00 2001 From: adinhodovic Date: Mon, 6 Nov 2023 18:51:53 +0100 Subject: [PATCH] build: Add -e flag for go list --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ff10c2b..d5d119d 100644 --- a/Makefile +++ b/Makefile @@ -19,4 +19,4 @@ $(BIN_DIR): $(TOOLING): $(BIN_DIR) @echo Installing tools from hack/tools.go - @cd hack && go list -mod=mod -tags tools -f '{{ range .Imports }}{{ printf "%s\n" .}}{{end}}' ./ | xargs -tI % go build -mod=mod -o $(BIN_DIR) % + @cd hack && go list -mod=mod -tags tools -e -f '{{ range .Imports }}{{ printf "%s\n" .}}{{end}}' ./ | xargs -tI % go build -mod=mod -o $(BIN_DIR) %