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:
@@ -10,7 +10,7 @@ TAGS=
|
||||
case "${MODE}" in
|
||||
release)
|
||||
TAGS=release
|
||||
go generate ./data
|
||||
GOPATH="${PWD}/vendor:${GOPATH}" go generate ./data
|
||||
;;
|
||||
dev)
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user