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:
parent
b731a997db
commit
7c00b1fb3b
1 changed files with 1 additions and 1 deletions
2
Makefile
2
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) %
|
||||
|
|
Loading…
Reference in a new issue