@@ -30,10 +30,8 @@ CONTROLLER_GEN := $(BIN_DIR)/controller-gen
30
30
SETUP_ENVTEST := $(BIN_DIR ) /setup-envtest
31
31
GOLANGCI_LINT := $(BIN_DIR ) /golangci-lint
32
32
KUSTOMIZE := $(BIN_DIR ) /kustomize
33
- GO_JUNIT_REPORT := $(BIN_DIR ) /go-junit-report
34
33
GINKGO := $(BIN_DIR ) /ginkgo
35
34
GOCOVMERGE := $(BIN_DIR ) /gocovmerge
36
- GOCOVER_COBERTURA := $(BIN_DIR ) /gocover-cobertura
37
35
KUBEBUILDER := $(BIN_DIR ) /kubebuilder
38
36
ETCD := $(BIN_DIR ) /etcd
39
37
KUBE_APISERVER := $(BIN_DIR ) /kube-apiserver
@@ -56,57 +54,47 @@ help: ## Display this help
56
54
.PHONY : $(CRD_REF_DOCS )
57
55
crd-ref-docs : $(CRD_REF_DOCS ) # # Install crd-ref-docs
58
56
$(CRD_REF_DOCS ) :
59
- go build -tags=tools -o $@ github.com/elastic/crd-ref-docs
57
+ go build -tags=vmop_tools -o $@ github.com/elastic/crd-ref-docs
60
58
61
59
.PHONY : $(CONTROLLER_GEN )
62
60
controller-gen : $(CONTROLLER_GEN ) # # Install controller-gen
63
61
$(CONTROLLER_GEN ) : go.mod
64
- go build -tags=tools -o $@ sigs.k8s.io/controller-tools/cmd/controller-gen
62
+ go build -tags=vmop_tools -o $@ sigs.k8s.io/controller-tools/cmd/controller-gen
65
63
66
64
.PHONY :$(SETUP_ENVTEST )
67
65
setup-envtest : $(SETUP_ENVTEST ) # # Install setup-envtest
68
66
$(SETUP_ENVTEST ) : go.mod
69
- go build -tags=tools -o $@ sigs.k8s.io/controller-runtime/tools/setup-envtest
67
+ go build -tags=vmop_tools -o $@ sigs.k8s.io/controller-runtime/tools/setup-envtest
70
68
71
69
.PHONY : $(GOLANGCI_LINT )
72
70
golangci-lint : $(GOLANGCI_LINT ) # # Install golangci-lint
73
71
$(GOLANGCI_LINT ) :
74
- go build -tags=tools -o $@ github.com/golangci/golangci-lint/cmd/golangci-lint
72
+ go build -tags=vmop_tools -o $@ github.com/golangci/golangci-lint/cmd/golangci-lint
75
73
76
74
.PHONY : $(KUSTOMIZE )
77
75
kustomize : $(KUSTOMIZE ) # # Install kustomize
78
76
$(KUSTOMIZE ) :
79
77
../ensure-kustomize.sh
80
78
81
- .PHONY : $(GO_JUNIT_REPORT )
82
- go-junit-report : $(GO_JUNIT_REPORT ) # # Install go-junit-report
83
- $(GO_JUNIT_REPORT ) : go.mod
84
- go build -tags=tools -o $@ github.com/jstemmer/go-junit-report/v2
85
-
86
79
.PHONY : $(GINKGO )
87
80
ginkgo : $(GINKGO ) # # Install ginkgo
88
81
$(GINKGO ) : go.mod
89
- go build -tags=tools -o $@ github.com/onsi/ginkgo/ginkgo
82
+ go build -tags=vmop_tools -o $@ github.com/onsi/ginkgo/ginkgo
90
83
91
84
.PHONY : $(GOCOVMERGE )
92
85
gocovmerge : $(GOCOVMERGE ) # # Install gocovmerge
93
86
$(GOCOVMERGE ) : go.mod
94
- go build -tags=tools -o $@ github.com/wadey/gocovmerge
95
-
96
- .PHONY : $(GOCOVER_COBERTURA )
97
- gocover-cobertura : $(GOCOVER_COBERTURA ) # # Install gocover-cobertura
98
- $(GOCOVER_COBERTURA ) : go.mod
99
- go build -tags=tools -o $@ github.com/t-yuki/gocover-cobertura
87
+ go build -tags=vmop_tools -o $@ github.com/wadey/gocovmerge
100
88
101
89
.PHONY : $(GOCOV )
102
90
gocov : $(GOCOV ) # # Install gocov
103
91
$(GOCOV ) : go.mod
104
- go build -tags=tools -o $@ github.com/axw/gocov/gocov
92
+ go build -tags=vmop_tools -o $@ github.com/axw/gocov/gocov
105
93
106
94
.PHONY : $(GOCOV_XML )
107
95
gocov-xml : $(GOCOV_XML ) # # Install gocov-xml
108
96
$(GOCOV_XML ) : go.mod
109
- go build -tags=tools -o $@ github.com/AlekSi/gocov-xml
97
+ go build -tags=vmop_tools -o $@ github.com/AlekSi/gocov-xml
110
98
111
99
.PHONY : $(KUBEBUILDER )
112
100
kubebuilder : $(KUBEBUILDER ) # # Install kubebuilder
0 commit comments