mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2024-05-17 21:16:33 +02:00
Merge pull request #442 from strukturag/update-protoc-gen-grpc
Update protoc-gen-go-grpc to v1.3.0
This commit is contained in:
commit
9b27cf8bd1
4
Makefile
4
Makefile
|
@ -14,7 +14,7 @@ TARVERSION := $(shell "$(CURDIR)/scripts/get-version.sh" --tar)
|
|||
PACKAGENAME := github.com/strukturag/nextcloud-spreed-signaling
|
||||
ALL_PACKAGES := $(PACKAGENAME) $(PACKAGENAME)/client $(PACKAGENAME)/proxy $(PACKAGENAME)/server
|
||||
|
||||
PROTOC_GEN_GRPC_VERSION := v1.2.0
|
||||
PROTOC_GEN_GRPC_VERSION := v1.3.0
|
||||
|
||||
ifneq ($(VERSION),)
|
||||
INTERNALLDFLAGS := -X main.version=$(VERSION)
|
||||
|
@ -155,6 +155,8 @@ vendor: go.mod go.sum common
|
|||
mkdir -p $(VENDORDIR)/github.com/mailru/easyjson/; \
|
||||
cp -rf --no-preserve=mode $$EASYJSON_DIR/easyjson/ $(VENDORDIR)/github.com/mailru/easyjson/; \
|
||||
mkdir -p $(VENDORDIR)/google.golang.org/grpc/cmd/protoc-gen-go-grpc/; \
|
||||
[ -d "$(GOPATH)/pkg/mod/google.golang.org/grpc/cmd/protoc-gen-go-grpc@$(PROTOC_GEN_GRPC_VERSION)" ] || echo "Folder for protoc-gen-go-grpc command does not exist, please check Makefile."; \
|
||||
[ -d "$(GOPATH)/pkg/mod/google.golang.org/grpc/cmd/protoc-gen-go-grpc@$(PROTOC_GEN_GRPC_VERSION)" ] || exit 1; \
|
||||
cp -rf --no-preserve=mode $(GOPATH)/pkg/mod/google.golang.org/grpc/cmd/protoc-gen-go-grpc@$(PROTOC_GEN_GRPC_VERSION)/* $(VENDORDIR)/google.golang.org/grpc/cmd/protoc-gen-go-grpc/; \
|
||||
cp -rf --no-preserve=mode $$PROTOBUF_DIR/cmd/ $(VENDORDIR)/google.golang.org/protobuf/; \
|
||||
|
||||
|
|
Loading…
Reference in a new issue