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

Merge pull request #34 from adinhodovic/fix-build

build: Add -e flag for go list to fix build issues
This commit is contained in:
Ryan Geyer 2024-10-24 00:09:01 -07:00 committed by GitHub
commit c98f013c35
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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) %