2015-12-17 13:46:04 -08:00
|
|
|
.PHONY: all test get_deps
|
|
|
|
|
2017-01-13 10:12:38 -08:00
|
|
|
all: protoc install test
|
2016-01-30 19:36:33 -08:00
|
|
|
|
2017-01-12 12:47:55 -08:00
|
|
|
NOVENDOR = go list github.com/tendermint/abci/... | grep -v /vendor/
|
2016-11-09 17:12:29 -08:00
|
|
|
|
2016-01-30 19:36:33 -08:00
|
|
|
protoc:
|
2016-11-15 11:11:01 -08:00
|
|
|
protoc --go_out=plugins=grpc:. types/*.proto
|
2015-12-17 13:46:04 -08:00
|
|
|
|
2016-11-09 17:12:29 -08:00
|
|
|
install:
|
2017-01-12 12:47:55 -08:00
|
|
|
go install github.com/tendermint/abci/cmd/...
|
2015-12-17 13:46:04 -08:00
|
|
|
|
|
|
|
test:
|
2016-11-09 17:12:29 -08:00
|
|
|
go test `${NOVENDOR}`
|
2016-07-23 15:54:58 -07:00
|
|
|
bash tests/test.sh
|
2015-12-17 13:46:04 -08:00
|
|
|
|
2016-11-09 17:12:29 -08:00
|
|
|
test_integrations: get_vendor_deps install test
|
|
|
|
|
2015-12-17 13:46:04 -08:00
|
|
|
get_deps:
|
2016-11-09 17:12:29 -08:00
|
|
|
go get -d `${NOVENDOR}`
|
|
|
|
|
|
|
|
get_vendor_deps:
|
|
|
|
go get github.com/Masterminds/glide
|
|
|
|
glide install
|