Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,8 @@ docker-push-w-buildx:
--push \
--platform ${IMG_PLATFORM}

# find or download controller-gen
# download controller-gen if necessary
# download controller-gen v0.19.0
controller-gen:
ifeq (, $(shell which controller-gen))
@{ \
set -e ;\
CONTROLLER_GEN_TMP_DIR=$$(mktemp -d) ;\
Expand All @@ -142,9 +140,6 @@ ifeq (, $(shell which controller-gen))
rm -rf $$CONTROLLER_GEN_TMP_DIR ;\
}
CONTROLLER_GEN=$(GOBIN)/controller-gen
else
CONTROLLER_GEN=$(shell which controller-gen)
endif

# find or download mockgen
# download mockgen if necessary
Expand Down
Loading