Need individual make bootstrap
.
This commit is contained in:
parent
c8c2a12dc1
commit
4b1ffed764
1 changed files with 6 additions and 0 deletions
6
Makefile
6
Makefile
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue