fix(Makefile): add bootstrap warnings

See #647
pull/651/head
Matt Butcher 8 years ago
parent fb8dd39268
commit aa7f5e113d

@ -63,8 +63,21 @@ clean:
coverage:
@scripts/coverage.sh
HAS_GLIDE := $(shell command -v glide;)
HAS_HG := $(shell command -v hg;)
HAS_GIT := $(shell command -v git;)
.PHONY: bootstrap
bootstrap:
ifndef HAS_GLIDE
go get -u github.com/Masterminds/glide
endif
ifndef HAS_HG
$(error You must install Mercurial (hg))
endif
ifndef HAS_GIT
$(error You must install Git)
endif
glide install
include versioning.mk

Loading…
Cancel
Save