Files
tendermint/Makefile

30 lines
606 B
Makefile
Raw Normal View History

2015-12-17 13:46:04 -08:00
.PHONY: all test get_deps
all: protoc install test
2016-01-30 19:36:33 -08:00
2017-01-12 15:47:55 -05:00
NOVENDOR = go list github.com/tendermint/abci/... | grep -v /vendor/
2016-11-10 01:12:29 +00:00
2017-01-10 15:59:29 +01:00
install-protoc:
# Download: https://github.com/google/protobuf/releases
go get github.com/golang/protobuf/protoc-gen-go
2016-01-30 19:36:33 -08:00
protoc:
2016-11-15 14:11:01 -05:00
protoc --go_out=plugins=grpc:. types/*.proto
2015-12-17 13:46:04 -08:00
2016-11-10 01:12:29 +00:00
install:
2017-01-12 15:47:55 -05:00
go install github.com/tendermint/abci/cmd/...
2015-12-17 13:46:04 -08:00
test:
2017-01-10 15:29:47 +01:00
find . -name test.sock -exec rm {} \;
go test -p 1 `${NOVENDOR}`
2016-07-23 18:54:58 -04:00
bash tests/test.sh
2015-12-17 13:46:04 -08:00
2016-11-10 01:12:29 +00:00
test_integrations: get_vendor_deps install test
2015-12-17 13:46:04 -08:00
get_deps:
2016-11-10 01:12:29 +00:00
go get -d `${NOVENDOR}`
get_vendor_deps:
go get github.com/Masterminds/glide
glide install