Skip to content

Commit

Permalink
UPSTREAM: <carry>: openshift: update make generate
Browse files Browse the repository at this point in the history
This commit updates Make generate target to make it
uniform with other providers.  Current Make generate
does not work correctly.
  • Loading branch information
michaelgugino committed Aug 19, 2020
1 parent f138f6b commit 2092978
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,9 @@ goimports: ## Go fmt your code
hack/goimports.sh .

.PHONY: generate
generate: ## generate code (e.g. deepcopy)
./hack/update-generated-deep-copies.sh
generate:
$(DOCKER_CMD) go generate ./pkg/... ./cmd/...
hack/goimports.sh .

.PHONY: vet
vet:
Expand Down
28 changes: 27 additions & 1 deletion pkg/apis/azureprovider/v1beta1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2092978

Please sign in to comment.