diff --git a/Makefile b/Makefile index 41d9bbb0d39712f46f12ffe897ed4fecbbd0cc75..19d9e513343ad0c7e931d52397ea93a0628a34c0 100644 --- a/Makefile +++ b/Makefile @@ -20,6 +20,7 @@ ifeq ($(GOARCH),$(GOHOSTARCH)) endif endif GLIDEPATH := $(shell command -v glide 2> /dev/null) +HGPATH := $(shell command -v hg 2> /dev/null) DIR=. ifeq (master,$(BRANCH)) @@ -69,6 +70,11 @@ ifndef GLIDEPATH $(info by running: curl https://glide.sh/get | sh.) $(info ) $(error glide is required to continue) +endif +ifndef HGPATH + $(info Please install mercurial/hg.) + $(info glide needs to fetch pkgs from a mercurial repository.) + $(error mercurial/hg is required to continue) endif echo "Installing vendor directory" glide install -v