From 8c437e518b33ba88edcf0d2c0be0cf6a4d135b8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reinhard=20N=C3=A4gele?= Date: Fri, 28 Apr 2017 13:30:38 +0200 Subject: [PATCH] Update Makefile to require Mercurial --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 5ef44b222..d9d869a3b 100644 --- a/Makefile +++ b/Makefile @@ -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