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:
commit
c98f013c35
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