cosmos-sdk/Makefile

33 lines
805 B
Makefile

all: test install
NOVENDOR = go list github.com/tendermint/basecoin/... | grep -v /vendor/
build:
go build github.com/tendermint/basecoin/cmd/...
install:
go install github.com/tendermint/basecoin/cmd/...
test:
go test `${NOVENDOR}`
#go run tests/tendermint/*.go
get_deps:
go get -d github.com/tendermint/basecoin/...
update_deps:
go get -d -u github.com/tendermint/basecoin/...
get_vendor_deps:
go get github.com/Masterminds/glide
glide install
build-docker:
docker run -it --rm -v "$(PWD):/go/src/github.com/tendermint/basecoin" -w "/go/src/github.com/tendermint/basecoin" -e "CGO_ENABLED=0" golang:alpine go build ./cmd/basecoin
docker build -t "tendermint/basecoin" .
clean:
@rm -f ./basecoin
.PHONY: all build install test get_deps update_deps get_vendor_deps build-docker clean