Merge pull request #1027 from anderbubble/suppress-vendor-errors

Suppress vendor errors in makefile
This commit is contained in:
Jonathon Anderson
2023-12-30 10:15:03 -07:00
committed by GitHub

View File

@@ -83,7 +83,7 @@ CONFIG := $(shell pwd)
IPXESOURCE ?= $(PREFIX)/share/ipxe
# helper functions
godeps=$(shell go list -mod vendor -deps -f '{{if not .Standard}}{{ $$dep := . }}{{range .GoFiles}}{{$$dep.Dir}}/{{.}} {{end}}{{end}}' $(1) | sed "s%${PWD}/%%g")
godeps=$(shell 2>/dev/null go list -mod vendor -deps -f '{{if not .Standard}}{{ $$dep := . }}{{range .GoFiles}}{{$$dep.Dir}}/{{.}} {{end}}{{end}}' $(1) | sed "s%${PWD}/%%g")
# use GOPROXY for older git clients and speed up downloads
GOPROXY ?= https://proxy.golang.org