|
@ -2,14 +2,14 @@ GOTOOLS = \ |
|
|
github.com/mitchellh/gox \
|
|
|
github.com/mitchellh/gox \
|
|
|
github.com/Masterminds/glide \
|
|
|
github.com/Masterminds/glide \
|
|
|
github.com/tcnksm/ghr \
|
|
|
github.com/tcnksm/ghr \
|
|
|
gopkg.in/alecthomas/gometalinter.v2 |
|
|
|
|
|
|
|
|
# gopkg.in/alecthomas/gometalinter.v2 |
|
|
GOTOOLS_CHECK = gox glide ghr gometalinter.v2 |
|
|
GOTOOLS_CHECK = gox glide ghr gometalinter.v2 |
|
|
PACKAGES=$(shell go list ./... | grep -v '/vendor/') |
|
|
PACKAGES=$(shell go list ./... | grep -v '/vendor/') |
|
|
BUILD_TAGS?=tendermint |
|
|
BUILD_TAGS?=tendermint |
|
|
TMHOME = $${TMHOME:-$$HOME/.tendermint} |
|
|
TMHOME = $${TMHOME:-$$HOME/.tendermint} |
|
|
BUILD_FLAGS = -ldflags "-X github.com/tendermint/tendermint/version.GitCommit=`git rev-parse --short HEAD`" |
|
|
BUILD_FLAGS = -ldflags "-X github.com/tendermint/tendermint/version.GitCommit=`git rev-parse --short HEAD`" |
|
|
|
|
|
|
|
|
all: check build test install metalinter |
|
|
|
|
|
|
|
|
all: check build test install |
|
|
|
|
|
|
|
|
check: check_tools get_vendor_deps |
|
|
check: check_tools get_vendor_deps |
|
|
|
|
|
|
|
@ -42,7 +42,7 @@ check_tools: |
|
|
get_tools: |
|
|
get_tools: |
|
|
@echo "--> Installing tools" |
|
|
@echo "--> Installing tools" |
|
|
go get -u -v $(GOTOOLS) |
|
|
go get -u -v $(GOTOOLS) |
|
|
@gometalinter.v2 --install |
|
|
|
|
|
|
|
|
# @gometalinter.v2 --install |
|
|
|
|
|
|
|
|
update_tools: |
|
|
update_tools: |
|
|
@echo "--> Updating tools" |
|
|
@echo "--> Updating tools" |
|
|