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):
58
58
PROTOC_GEN_GO_PKG := github.com/golang/protobuf/protoc-gen-go
59
59
PROTOC_GEN_GO := protoc-gen-go
60
60
$(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
62
62
$(PROTOC_GEN_GO ) :
63
63
mkdir -p $(dir $(GOPATH ) /src/$(PROTOBUF_PKG ) )
64
64
test -d $(GOPATH ) /src/$(PROTOBUF_PKG ) /.git || git clone https://$(PROTOBUF_PKG ) $(GOPATH ) /src/$(PROTOBUF_PKG )
65
65
(cd $( GOPATH) /src/$( PROTOBUF_PKG) && \
66
66
(test " $$ (git describe --tags | head -1)" = " $( PROTOBUF_VERSION) " || \
67
67
(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 }} ' . /...) ) && \
69
69
go build -o " $@ " $(PROTOC_GEN_GO_PKG )
70
70
71
71
You can’t perform that action at this time.
0 commit comments