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.

This commit removes obselete hack script for generating.
  • Loading branch information
michaelgugino authored and openshift-merge-robot committed Sep 1, 2020
1 parent 201dd37 commit 29efd36
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 12 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
9 changes: 0 additions & 9 deletions hack/update-generated-deep-copies.sh

This file was deleted.

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 29efd36

Please sign in to comment.