File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -148,10 +148,12 @@ $(LOCALBIN):
148
148
# # Tool Binaries
149
149
GORELEASER ?= $(LOCALBIN ) /goreleaser
150
150
GINKGO ?= $(LOCALBIN ) /ginkgo
151
+ PROTOC_VERSION ?= $(LOCALBIN ) /protoc-gen-go-grpc
151
152
152
153
# # Tool Versions
153
154
GORELEASER_VERSION ?= v1.8.3
154
155
GINKGO_VERSION ?= v2.1.3
156
+ PROTOC_VERSION ?= v1.3.0
155
157
156
158
.PHONY : goreleaser
157
159
goreleaser : $(GORELEASER ) # # Download goreleaser locally if necessary.
@@ -162,3 +164,8 @@ $(GORELEASER): $(LOCALBIN)
162
164
ginkgo : $(GINKGO ) # # Download ginkgo locally if necessary.
163
165
$(GINKGO ) : $(LOCALBIN )
164
166
GOBIN=$(LOCALBIN ) go install $(GO_INSTALL_OPTS ) github.com/onsi/ginkgo/v2/ginkgo@$(GINKGO_VERSION )
167
+
168
+ .PHONY : protoc-gen-go-grpc
169
+ protoc-gen-go-grpc : $(protoc-gen-go-grpc ) # # Download protoc-gen-go-grpc locally if necessary.
170
+ $(protoc-gen-go-grpc ) : $(LOCALBIN )
171
+ GOBIN=$(LOCALBIN ) go install $(GO_INSTALL_OPTS ) google.golang.org/grpc/cmd/protoc-gen-go-grpc@$(PROTOC_VERSION )
You can’t perform that action at this time.
0 commit comments