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):
148148# # Tool Binaries
149149GORELEASER ?= $(LOCALBIN ) /goreleaser
150150GINKGO ?= $(LOCALBIN ) /ginkgo
151+ PROTOC_VERSION ?= $(LOCALBIN ) /protoc-gen-go-grpc
151152
152153# # Tool Versions
153154GORELEASER_VERSION ?= v1.8.3
154155GINKGO_VERSION ?= v2.1.3
156+ PROTOC_VERSION ?= v1.3.0
155157
156158.PHONY : goreleaser
157159goreleaser : $(GORELEASER ) # # Download goreleaser locally if necessary.
@@ -162,3 +164,8 @@ $(GORELEASER): $(LOCALBIN)
162164ginkgo : $(GINKGO ) # # Download ginkgo locally if necessary.
163165$(GINKGO ) : $(LOCALBIN )
164166 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