Skip to content

Commit

Permalink
Merge pull request cosmos#515 from cosmos/bugfix/remove-basecoin-extr…
Browse files Browse the repository at this point in the history
…a-vendor

Remove errant basecoin vendor mess
  • Loading branch information
ebuchman authored Feb 28, 2018
2 parents 36e0d33 + babbf06 commit ed88100
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ test_unit:
@go test $(PACKAGES)

test_cover:
@rm -rf examples/basecoin/vendor/
@bash tests/test_cover.sh

benchmark:
Expand Down
11 changes: 2 additions & 9 deletions examples/basecoin/Makefile
Original file line number Diff line number Diff line change
@@ -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
4 changes: 0 additions & 4 deletions examples/basecoin/glide.yaml

This file was deleted.

0 comments on commit ed88100

Please sign in to comment.