Commit 14cecc17 authored by Matt Butcher's avatar Matt Butcher

Merge pull request #369 from technosophos/fix/makefile-pip

fix(Makefile): print error if pip is missing
parents ce2a7997 9e848d36
......@@ -72,10 +72,14 @@ HAS_GLIDE := $(shell command -v glide;)
HAS_GOLINT := $(shell command -v golint;)
HAS_GOVET := $(shell command -v go tool vet;)
HAS_GOX := $(shell command -v gox;)
HAS_PIP := $(shell command -v pip;)
.PHONY: bootstrap
bootstrap:
@echo Installing deps
ifndef HAS_PIP
$(error Please install the latest version of Python pip)
endif
ifndef HAS_GLIDE
go get github.com/Masterminds/glide
endif
......@@ -89,3 +93,4 @@ ifndef HAS_GOX
go get -u github.com/mitchellh/gox
endif
glide install
pip install --user -r expansion/requirements.txt
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment