File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -58,14 +58,14 @@ $(PROTOC):
5858PROTOC_GEN_GO_PKG := github.com/golang/protobuf/protoc-gen-go
5959PROTOC_GEN_GO := protoc-gen-go
6060$(PROTOC_GEN_GO ) : PROTOBUF_PKG := $(dir $(PROTOC_GEN_GO_PKG ) )
61- $(PROTOC_GEN_GO ) : PROTOBUF_VERSION := v1.1 .0
61+ $(PROTOC_GEN_GO ) : PROTOBUF_VERSION := v1.2 .0
6262$(PROTOC_GEN_GO ) :
6363 mkdir -p $(dir $(GOPATH ) /src/$(PROTOBUF_PKG ) )
6464 test -d $(GOPATH ) /src/$(PROTOBUF_PKG ) /.git || git clone https://$(PROTOBUF_PKG ) $(GOPATH ) /src/$(PROTOBUF_PKG )
6565 (cd $( GOPATH) /src/$( PROTOBUF_PKG) && \
6666 (test " $$ (git describe --tags | head -1)" = " $( PROTOBUF_VERSION) " || \
6767 (git fetch && git checkout tags/$( PROTOBUF_VERSION) )))
68- (cd $( GOPATH) /src/$( PROTOBUF_PKG) && go get -v -d . /...) && \
68+ (cd $( GOPATH) /src/$( PROTOBUF_PKG) && go get -v -d $$ (go list -f ' {{ .ImportPath }} ' . /...) ) && \
6969 go build -o " $@ " $(PROTOC_GEN_GO_PKG )
7070
7171
You can’t perform that action at this time.
0 commit comments