diff --git a/Makefile b/Makefile index c5e0357ccd..1f640bacbc 100644 --- a/Makefile +++ b/Makefile @@ -18,6 +18,7 @@ gaia: build: @rm -rf examples/basecoin/vendor/ + cd examples/basecoin && $(MAKE) get_vendor_deps go build $(BUILD_FLAGS) -o build/basecoind ./examples/basecoin/cmd/basecoind/... dist: diff --git a/examples/basecoin/Makefile b/examples/basecoin/Makefile index 42244a90f7..0196b9590c 100644 --- a/examples/basecoin/Makefile +++ b/examples/basecoin/Makefile @@ -1,10 +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_tools get_vendor_deps build test +all: get_tools get_vendor_deps build test get_tools: - go get github.com/Masterminds/glide + go get github.com/tendermint/glide build: go build $(BUILD_FLAGS) -o build/basecoin ./cmd/... @@ -19,4 +19,4 @@ test: benchmark: @go test -bench=. $(PACKAGES) -.PHONY: get_tools build get_vendor_deps test benchmark +.PHONY: get_tools build get_vendor_deps test benchmark