From 37600d2cd0dff55a4802226dc220edf2064dd83d Mon Sep 17 00:00:00 2001 From: rigelrozanski Date: Tue, 20 Feb 2018 10:10:36 +0000 Subject: [PATCH] basecoin get_tools --- examples/basecoin/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/examples/basecoin/Makefile b/examples/basecoin/Makefile index c617692a5c..42244a90f7 100644 --- a/examples/basecoin/Makefile +++ b/examples/basecoin/Makefile @@ -1,7 +1,10 @@ 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`" -all: get_vendor_deps build test +all: get_tools get_vendor_deps build test + +get_tools: + go get github.com/Masterminds/glide build: go build $(BUILD_FLAGS) -o build/basecoin ./cmd/... @@ -16,4 +19,4 @@ test: benchmark: @go test -bench=. $(PACKAGES) -.PHONY: build get_vendor_deps test benchmark +.PHONY: get_tools build get_vendor_deps test benchmark