Skip to content

Commit

Permalink
Merge pull request #603 from timdengyun/enhance_code-generator-inmake…
Browse files Browse the repository at this point in the history
…file

Add a PHONY target code-generator in Makefile
  • Loading branch information
timdengyun committed Jun 19, 2024
2 parents 1074129 + fdca797 commit b7bf875
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,11 @@ KUSTOMIZE = $(shell pwd)/bin/kustomize
kustomize: ## Download kustomize locally if necessary.
$(call go-get-tool,$(KUSTOMIZE),sigs.k8s.io/kustomize/kustomize/v3@v3.8.7)

generated:
.PHONY: code-generator
code-generator: ## Download code-generator locally if necessary.
go mod download k8s.io/code-generator@v0.27.1

generated: code-generator
./hack/update-codegen.sh

ENVTEST = $(shell pwd)/bin/setup-envtest
Expand Down

0 comments on commit b7bf875

Please sign in to comment.