Skip to content

Commit

Permalink
Merge pull request #71 from scottd018/update-makefile-exclude-paths
Browse files Browse the repository at this point in the history
feat: update makefile to only include relevant paths
  • Loading branch information
scottd018 authored Apr 19, 2024
2 parents 8241764 + a35faa6 commit 3a887b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/plugins/workload/v1/scaffolds/templates/makefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,11 @@ all: build
.PHONY: manifests
manifests: controller-gen ## Generate WebhookConfiguration, ClusterRole and CustomResourceDefinition objects.
$(CONTROLLER_GEN) $(CRD_OPTIONS) rbac:roleName=manager-role webhook paths="./..." output:crd:artifacts:config=config/crd/bases
$(CONTROLLER_GEN) $(CRD_OPTIONS) rbac:roleName=manager-role webhook paths="./apis/..." paths="./controllers/..." paths="./internal/..." output:crd:artifacts:config=config/crd/bases
.PHONY: generate
generate: controller-gen ## Generate code containing DeepCopy, DeepCopyInto, and DeepCopyObject method implementations.
$(CONTROLLER_GEN) object:headerFile="hack/boilerplate.go.txt" paths="./..."
$(CONTROLLER_GEN) object:headerFile="hack/boilerplate.go.txt" paths="./apis/..."
.PHONY: fmt
fmt: ## Run go fmt against code.
Expand Down

0 comments on commit 3a887b7

Please sign in to comment.