1
0
Fork 0
mirror of https://github.com/monitoring-mixins/website.git synced 2024-12-14 11:37:31 +00:00

build: Add -e flag for go list

This commit is contained in:
adinhodovic 2023-11-06 18:51:53 +01:00
parent b731a997db
commit 7c00b1fb3b

View file

@ -19,4 +19,4 @@ $(BIN_DIR):
$(TOOLING): $(BIN_DIR) $(TOOLING): $(BIN_DIR)
@echo Installing tools from hack/tools.go @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) %