1
0
mirror of https://github.com/openshift/installer.git synced 2026-02-06 00:48:45 +01:00

hack/build: Add the local vendor directory for generate

Because 'go run' ignores vendor/ otherwise [1].

[1]: https://github.com/golang/go/issues/20406
This commit is contained in:
W. Trevor King
2018-09-26 12:15:38 -07:00
parent 2cbdb99cdb
commit f230c3e9dd

View File

@@ -10,7 +10,7 @@ TAGS=
case "${MODE}" in
release)
TAGS=release
go generate ./data
GOPATH="${PWD}/vendor:${GOPATH}" go generate ./data
;;
dev)
;;