Need individual make bootstrap.

This commit is contained in:
max furman 2019-02-20 12:57:06 -08:00
parent c8c2a12dc1
commit 4b1ffed764

View file

@ -5,6 +5,12 @@ all: build lint test
.PHONY: all
bootstrap:
$Q which dep || go get github.com/golang/dep/cmd/dep
$Q dep ensure
.PHONY: bootstrap
# Version flags to embed in the binaries
VERSION ?= $(shell [ -d .git ] && git describe --tags --always --dirty="-dev")
# If we are not in an active git dir then try reading the version from .VERSION.