Skip to content

Commit

Permalink
Merge pull request #470 from danielvegamyhre/makefile
Browse files Browse the repository at this point in the history
Update Makefile rules to use more specific paths
  • Loading branch information
k8s-ci-robot authored Mar 22, 2024
2 parents 764c222 + 575fe73 commit 87f70dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@ manifests: controller-gen ## Generate WebhookConfiguration, ClusterRole and Cust
rbac:roleName=manager-role output:rbac:artifacts:config=config/components/rbac\
crd:generateEmbeddedObjectMeta=true output:crd:artifacts:config=config/components/crd/bases\
webhook output:webhook:artifacts:config=config/components/webhook\
paths="./..."
paths="{./api/..., ./pkg/...}"

.PHONY: generate
generate: controller-gen code-generator openapi-gen ## Generate code containing DeepCopy, DeepCopyInto, and DeepCopyObject method implementations and client-go libraries.
$(CONTROLLER_GEN) object:headerFile="hack/boilerplate.go.txt" paths="./..."
$(CONTROLLER_GEN) object:headerFile="hack/boilerplate.go.txt" paths="./api/..."
./hack/update-codegen.sh $(GO_CMD) $(PROJECT_DIR)/bin
./hack/python-sdk/gen-sdk.sh

Expand Down

0 comments on commit 87f70dd

Please sign in to comment.