Skip to content

Commit 91c1eab

Browse files
author
cskh
authored
fix: remove non-existent target in makefile (argoproj#1813)
Signed-off-by: Hui Kang <[email protected]>
1 parent fbf680c commit 91c1eab

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,12 +123,12 @@ gen-k8scodegen: go-mod-vendor
123123

124124
# generates ./manifests/crds/
125125
.PHONY: gen-crd
126-
gen-crd: $(DIST_DIR)/controller-gen
126+
gen-crd: install-go-tools-local
127127
go run ./hack/gen-crd-spec/main.go
128128

129129
# generates mock files from interfaces
130130
.PHONY: gen-mocks
131-
gen-mocks: $(DIST_DIR)/mockery
131+
gen-mocks: install-go-tools-local
132132
./hack/update-mocks.sh
133133

134134
# generates openapi_generated.go

docs/CONTRIBUTING.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ cd ~/go/src/github.com/argoproj/argo-rollouts
5656

5757
The `make controller` command will build the controller.
5858

59+
* `make install-tools-local` - Runs scripts to install codegen utility CLIs necessary for codegen.
60+
5961
* `make codegen` - Runs the code generator that creates the informers, client, lister, and deepcopies from the types.go and modifies the open-api spec.
6062

6163

0 commit comments

Comments
 (0)