Had a word with @technosophos and it seems we no longer need hg check as all other repos can be cloned via git

pull/1683/head
Miyurz 8 years ago
parent 2f9c3c2e5d
commit f630d0e954

@ -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

Loading…
Cancel
Save