update generate script

Signed-off-by: runzexia <runzexia@yunify.com>
This commit is contained in:
runzexia
2019-08-15 14:32:03 +08:00
parent b754e17022
commit 03d3aae821
3 changed files with 4 additions and 4 deletions

View File

@@ -76,6 +76,7 @@ deploy: manifests
# generate will generate crds' deepcopy & go openapi structs
# Futher more about go:genreate . https://blog.golang.org/generate
generate:
GO111MODULE=on go install -mod=vendor k8s.io/code-generator/cmd/deepcopy-gen
go generate ./pkg/... ./cmd/...
# Build the docker image