fix(Makefile): add flake8 to bootstrap

flake8 support was recently added, but the bootstrap didn't check or
install it.
pull/403/head
Matt Butcher 9 years ago
parent 3efce30ef9
commit ab44ea2541

@ -73,6 +73,7 @@ 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;) HAS_PIP := $(shell command -v pip;)
HAS_FLAKE8 := $(shell command -v pip;)
.PHONY: bootstrap .PHONY: bootstrap
bootstrap: bootstrap:
@ -91,6 +92,9 @@ ifndef HAS_GOVET
endif endif
ifndef HAS_GOX ifndef HAS_GOX
go get -u github.com/mitchellh/gox go get -u github.com/mitchellh/gox
endif
ifndef HAS_FLAKE8
pip install flake8
endif endif
glide install glide install
pip install --user -r expansion/requirements.txt pip install --user -r expansion/requirements.txt

Loading…
Cancel
Save