basecoin get_tools
This commit is contained in:
parent
6197eb831e
commit
37600d2cd0
|
@ -1,7 +1,10 @@
|
||||||
PACKAGES=$(shell go list ./... | grep -v '/vendor/')
|
PACKAGES=$(shell go list ./... | grep -v '/vendor/')
|
||||||
BUILD_FLAGS = -ldflags "-X github.com/cosmos/cosmos-sdk/examples/basecoin/version.GitCommit=`git rev-parse --short HEAD`"
|
BUILD_FLAGS = -ldflags "-X github.com/cosmos/cosmos-sdk/examples/basecoin/version.GitCommit=`git rev-parse --short HEAD`"
|
||||||
|
|
||||||
all: get_vendor_deps build test
|
all: get_tools get_vendor_deps build test
|
||||||
|
|
||||||
|
get_tools:
|
||||||
|
go get github.com/Masterminds/glide
|
||||||
|
|
||||||
build:
|
build:
|
||||||
go build $(BUILD_FLAGS) -o build/basecoin ./cmd/...
|
go build $(BUILD_FLAGS) -o build/basecoin ./cmd/...
|
||||||
|
@ -16,4 +19,4 @@ test:
|
||||||
benchmark:
|
benchmark:
|
||||||
@go test -bench=. $(PACKAGES)
|
@go test -bench=. $(PACKAGES)
|
||||||
|
|
||||||
.PHONY: build get_vendor_deps test benchmark
|
.PHONY: get_tools build get_vendor_deps test benchmark
|
||||||
|
|
Loading…
Reference in New Issue