Skip to content

Commit

Permalink
build: only run controller-gen on actual API dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
dkoshkin committed Feb 6, 2024
1 parent bb0ad46 commit 8f24631
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 4 deletions.

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

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

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

2 changes: 1 addition & 1 deletion make/go.mk
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ go-generate: ; $(info $(M) running go generate)
go generate -x ./...
controller-gen paths="./..." rbac:headerFile="hack/license-header.yaml.txt",roleName=capi-runtime-extensions-manager-role output:rbac:artifacts:config=charts/capi-runtime-extensions/templates
sed --in-place 's/capi-runtime-extensions-manager-role/{{ include "chart.name" . }}-manager-role/' charts/capi-runtime-extensions/templates/role.yaml
controller-gen paths="./api/..." object:headerFile="hack/license-header.go.txt" output:object:artifacts:config=/dev/null
controller-gen paths="./api/v1alpha1/..." object:headerFile="hack/license-header.go.txt" output:object:artifacts:config=/dev/null
$(MAKE) go-fix

.PHONY: go-mod-upgrade
Expand Down

0 comments on commit 8f24631

Please sign in to comment.