|
|
@ -104,6 +104,7 @@ coverage:
|
|
|
|
HAS_GLIDE := $(shell command -v glide;)
|
|
|
|
HAS_GLIDE := $(shell command -v glide;)
|
|
|
|
HAS_GOX := $(shell command -v gox;)
|
|
|
|
HAS_GOX := $(shell command -v gox;)
|
|
|
|
HAS_GIT := $(shell command -v git;)
|
|
|
|
HAS_GIT := $(shell command -v git;)
|
|
|
|
|
|
|
|
HAS_HG := $(shell command -v hg;)
|
|
|
|
|
|
|
|
|
|
|
|
.PHONY: bootstrap
|
|
|
|
.PHONY: bootstrap
|
|
|
|
bootstrap:
|
|
|
|
bootstrap:
|
|
|
@ -116,6 +117,9 @@ endif
|
|
|
|
|
|
|
|
|
|
|
|
ifndef HAS_GIT
|
|
|
|
ifndef HAS_GIT
|
|
|
|
$(error You must install Git)
|
|
|
|
$(error You must install Git)
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifndef HAS_HG
|
|
|
|
|
|
|
|
$(error You must install Mercurial)
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
glide install --strip-vendor
|
|
|
|
glide install --strip-vendor
|
|
|
|
go build -o bin/protoc-gen-go ./vendor/github.com/golang/protobuf/protoc-gen-go
|
|
|
|
go build -o bin/protoc-gen-go ./vendor/github.com/golang/protobuf/protoc-gen-go
|
|
|
|