2015-12-17 13:46:04 -08:00
|
|
|
.PHONY: all test get_deps
|
|
|
|
|
2016-01-30 19:36:33 -08:00
|
|
|
all: protoc test install
|
|
|
|
|
2016-11-10 01:12:29 +00:00
|
|
|
NOVENDOR = go list github.com/tendermint/tmsp/... | grep -v /vendor/
|
|
|
|
|
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:
|
2015-12-17 13:46:04 -08:00
|
|
|
go install github.com/tendermint/tmsp/cmd/...
|
|
|
|
|
|
|
|
test:
|
2016-11-10 01:12:29 +00:00
|
|
|
go test `${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
|