@@ -12,7 +12,7 @@ PROTO_ROOT := temporal-proto
1212PROTO_DIRS = $(sort $(dir $(wildcard $(PROTO_ROOT ) /* /* .proto) ) )
1313PROTO_SERVICES = $(wildcard $(PROTO_ROOT ) /* /service.proto)
1414PROTO_OUT := .
15- PROTO_IMPORT := $(PROTO_ROOT ) :$(GOPATH ) /src/github.com/gogo/protobuf
15+ PROTO_IMPORT := $(PROTO_ROOT ) :$(GOPATH ) /src/github.com/gogo/protobuf/protobuf
1616
1717all : update-proto-submodule grpc grpc-mock copyright gomodtidy
1818
@@ -32,11 +32,11 @@ grpc: gogo-grpc
3232
3333gogo-grpc : clean $(PROTO_OUT )
3434 echo " Compiling for gogo-gRPC..."
35- $(foreach PROTO_DIR,$(PROTO_DIRS ) ,protoc --proto_path=$(PROTO_IMPORT ) --gogoslick_out=Mprotobuf/google/ protobuf/wrappers.proto=github.com/gogo/protobuf/types,Mprotobuf/google /protobuf/timestamp.proto=github.com/gogo/protobuf/types,plugins=grpc,paths=source_relative:$(PROTO_OUT ) $(PROTO_DIR ) * .proto;)
35+ $(foreach PROTO_DIR,$(PROTO_DIRS ) ,protoc --proto_path=$(PROTO_IMPORT ) --gogofaster_out=Mgoogle/ protobuf/wrappers.proto=github.com/gogo/protobuf/types,Mgoogle /protobuf/timestamp.proto=github.com/gogo/protobuf/types,plugins=grpc,paths=source_relative:$(PROTO_OUT ) $(PROTO_DIR ) * .proto;)
3636
3737gogo-protobuf : clean $(PROTO_OUT )
3838 echo " Compiling for gogo-protobuf..."
39- $(foreach PROTO_DIR,$(PROTO_DIRS ) ,protoc --proto_path=$(PROTO_IMPORT ) --gogoslick_out=Mprotobuf/google/ protobuf/wrappers.proto=github.com/gogo/protobuf/types,Mprotobuf/google /protobuf/timestamp.proto=github.com/gogo/protobuf/types,paths=source_relative:$(PROTO_OUT ) $(PROTO_DIR ) * .proto;)
39+ $(foreach PROTO_DIR,$(PROTO_DIRS ) ,protoc --proto_path=$(PROTO_IMPORT ) --gogofaster_out=Mgoogle/ protobuf/wrappers.proto=github.com/gogo/protobuf/types,Mgoogle /protobuf/timestamp.proto=github.com/gogo/protobuf/types,paths=source_relative:$(PROTO_OUT ) $(PROTO_DIR ) * .proto;)
4040
4141go-protobuf : clean $(PROTO_OUT )
4242 echo " Compiling for go-protobuf..."
@@ -64,7 +64,7 @@ grpc-install: gogo-protobuf-install
6464 GO111MODULE=off go get -u google.golang.org/grpc
6565
6666gogo-protobuf-install : go-protobuf-install
67- GO111MODULE=off go get -u github.com/gogo/protobuf/protoc-gen-gogoslick
67+ GO111MODULE=off go get -u github.com/gogo/protobuf/protoc-gen-gogofaster
6868
6969go-protobuf-install :
7070 GO111MODULE=off go get -u github.com/golang/protobuf/protoc-gen-go
0 commit comments