Update Makefile to require Mercurial

pull/2344/head
Reinhard Nägele 8 years ago
parent 6bdc7ed990
commit 8c437e518b

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

Loading…
Cancel
Save