Merge pull request #515 from cosmos/bugfix/remove-basecoin-extra-vendor
Remove errant basecoin vendor mess
This commit is contained in:
commit
ed88100f15
1
Makefile
1
Makefile
|
@ -70,6 +70,7 @@ test_unit:
|
|||
@go test $(PACKAGES)
|
||||
|
||||
test_cover:
|
||||
@rm -rf examples/basecoin/vendor/
|
||||
@bash tests/test_cover.sh
|
||||
|
||||
benchmark:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
package: github.com/cosmos/cosmos-sdk/examples/basecoin
|
||||
import:
|
||||
- package: github.com/cosmos/cosmos-sdk
|
||||
version: develop
|
Loading…
Reference in New Issue