|
|
@ -101,7 +101,6 @@ 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_HG := $(shell command -v hg;)
|
|
|
|
|
|
|
|
HAS_GIT := $(shell command -v git;)
|
|
|
|
HAS_GIT := $(shell command -v git;)
|
|
|
|
|
|
|
|
|
|
|
|
.PHONY: bootstrap
|
|
|
|
.PHONY: bootstrap
|
|
|
@ -113,11 +112,8 @@ ifndef HAS_GOX
|
|
|
|
go get -u github.com/mitchellh/gox
|
|
|
|
go get -u github.com/mitchellh/gox
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
ifndef HAS_HG
|
|
|
|
|
|
|
|
@echo "Mercurial is not installed! Checking for Git"
|
|
|
|
|
|
|
|
ifndef HAS_GIT
|
|
|
|
ifndef HAS_GIT
|
|
|
|
$(error You must either install Mercurial or Git)
|
|
|
|
$(error You must install Git)
|
|
|
|
endif
|
|
|
|
|
|
|
|
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
|
|
|
|