We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdc471e commit 1c33eb4Copy full SHA for 1c33eb4
Makefile
@@ -30,7 +30,7 @@ endif
30
CMDS := $(patsubst ./cmd/%/,%,$(sort $(dir $(wildcard ./cmd/*/))))
31
CMD_TARGETS := $(patsubst %,cmd-%, $(CMDS))
32
33
-CHECK_TARGETS := golangci-lint
+CHECK_TARGETS := golangci-lint check-generate
34
MAKE_TARGETS := binaries build build-image check fmt lint-internal test examples cmds coverage generate vendor check-modules $(CHECK_TARGETS)
35
36
TARGETS := $(MAKE_TARGETS) $(CMD_TARGETS)
@@ -101,6 +101,9 @@ coverage: test
101
102
generate: generate-deepcopy fmt
103
104
+check-generate: generate
105
+ git diff --exit-code HEAD
106
+
107
generate-deepcopy: .remove-deepcopy
108
for dir in $(DEEPCOPY_SOURCES); do \
109
controller-gen \
0 commit comments