File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 66 - cmd/**/*.go
77 - pkg/**/*.go
88 - test/**/*.go
9+ mute : true
Original file line number Diff line number Diff line change 8686 $(CONTROLLER_GEN ) object paths=" ./pkg/controller/resourcegraphdefinition"
8787
8888.PHONY : fmt
89- fmt : # # Run go fmt against code.
89+ fmt : go-generate # # Run go fmt against code and add licenses .
9090 go fmt ./...
9191
92+ .PHONY : go-generate
93+ go-generate : # # Run go generate against code.
94+ go generate
95+
9296.PHONY : vet
9397vet : # # Run go vet against code.
9498 go vet ./...
@@ -221,7 +225,6 @@ envtest: $(ENVTEST) ## Download envtest-setup locally if necessary.
221225$(ENVTEST ) : $(LOCALBIN )
222226 test -s $(LOCALBIN ) /setup-envtest || GOBIN=$(LOCALBIN ) $(GOPREFIX ) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
223227
224-
225228.PHONY : image
226229build-image : ko # # Build the kro controller images using ko build
227230 echo " Building kro image $( RELEASE_VERSION) .."
Original file line number Diff line number Diff line change 33package kro
44
55//go:generate go tool attribution-gen
6- //go:generate go tool nwa config -c update
6+ //go:generate go tool nwa config -c add
You can’t perform that action at this time.
0 commit comments