Remove errant basecoin vendor mess

This commit is contained in:
Ethan Frey 2018-02-27 17:44:20 +01:00
parent 834f98c692
commit babbf0635f
3 changed files with 3 additions and 14 deletions

View File

@ -18,7 +18,6 @@ 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:
@ -66,6 +65,7 @@ test_unit:
@go test $(PACKAGES)
test_cover:
@rm -rf examples/basecoin/vendor/
@bash tests/test_cover.sh
benchmark:

View File

@ -1,22 +1,15 @@
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
get_tools:
go get github.com/tendermint/glide
all: build test
build:
go build $(BUILD_FLAGS) -o build/basecoin ./cmd/...
get_vendor_deps:
@rm -rf vendor/
@glide install
test:
@go test $(PACKAGES)
benchmark:
@go test -bench=. $(PACKAGES)
.PHONY: get_tools build get_vendor_deps test benchmark
.PHONY: all build test benchmark

View File

@ -1,4 +0,0 @@
package: github.com/cosmos/cosmos-sdk/examples/basecoin
import:
- package: github.com/cosmos/cosmos-sdk
version: develop