Merge pull request #515 from cosmos/bugfix/remove-basecoin-extra-vendor

Remove errant basecoin vendor mess
This commit is contained in:
Ethan Buchman
2018-02-27 23:57:38 -05:00
committed by GitHub
3 changed files with 3 additions and 13 deletions
+2 -9
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
-4
View File
@@ -1,4 +0,0 @@
package: github.com/cosmos/cosmos-sdk/examples/basecoin
import:
- package: github.com/cosmos/cosmos-sdk
version: develop