|
|
@ -72,10 +72,14 @@ HAS_GLIDE := $(shell command -v glide;)
|
|
|
|
HAS_GOLINT := $(shell command -v golint;)
|
|
|
|
HAS_GOLINT := $(shell command -v golint;)
|
|
|
|
HAS_GOVET := $(shell command -v go tool vet;)
|
|
|
|
HAS_GOVET := $(shell command -v go tool vet;)
|
|
|
|
HAS_GOX := $(shell command -v gox;)
|
|
|
|
HAS_GOX := $(shell command -v gox;)
|
|
|
|
|
|
|
|
HAS_PIP := $(shell command -v pip;)
|
|
|
|
|
|
|
|
|
|
|
|
.PHONY: bootstrap
|
|
|
|
.PHONY: bootstrap
|
|
|
|
bootstrap:
|
|
|
|
bootstrap:
|
|
|
|
@echo Installing deps
|
|
|
|
@echo Installing deps
|
|
|
|
|
|
|
|
ifndef HAS_PIP
|
|
|
|
|
|
|
|
$(error Please install the latest version of Python pip)
|
|
|
|
|
|
|
|
endif
|
|
|
|
ifndef HAS_GLIDE
|
|
|
|
ifndef HAS_GLIDE
|
|
|
|
go get github.com/Masterminds/glide
|
|
|
|
go get github.com/Masterminds/glide
|
|
|
|
endif
|
|
|
|
endif
|
|
|
@ -89,3 +93,4 @@ ifndef HAS_GOX
|
|
|
|
go get -u github.com/mitchellh/gox
|
|
|
|
go get -u github.com/mitchellh/gox
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
glide install
|
|
|
|
glide install
|
|
|
|
|
|
|
|
pip install --user -r expansion/requirements.txt
|
|
|
|