cosmos-sdk/Makefile

33 lines
660 B
Makefile
Raw Normal View History

2016-02-08 15:01:26 -08:00
all: test install
2016-02-05 23:16:33 -08:00
NOVENDOR = go list ./... | grep -v /vendor/
2017-01-28 09:29:32 -08:00
build:
go build ./cmd/...
2017-01-28 09:29:32 -08:00
install:
go install ./cmd/...
2016-02-05 23:16:33 -08:00
test:
go test `${NOVENDOR}`
#go run tests/tendermint/*.go
2016-02-05 23:16:33 -08:00
get_deps:
go get -d ./...
2016-03-28 09:46:57 -07:00
update_deps:
go get -d -u ./...
2017-01-11 21:07:56 -08:00
get_vendor_deps:
go get github.com/Masterminds/glide
glide install
2017-01-28 09:29:32 -08:00
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