mirror of
https://github.com/tendermint/tendermint.git
synced 2026-02-08 04:50:16 +00:00
26 lines
483 B
Makefile
26 lines
483 B
Makefile
.PHONY: all test get_deps
|
|
|
|
all: protoc install test
|
|
|
|
NOVENDOR = go list github.com/tendermint/abci/... | grep -v /vendor/
|
|
|
|
protoc:
|
|
protoc --go_out=plugins=grpc:. types/*.proto
|
|
|
|
install:
|
|
go install github.com/tendermint/abci/cmd/...
|
|
|
|
test:
|
|
find . -name test.sock -exec rm {} \;
|
|
go test -p 1 `${NOVENDOR}`
|
|
bash tests/test.sh
|
|
|
|
test_integrations: get_vendor_deps install test
|
|
|
|
get_deps:
|
|
go get -d `${NOVENDOR}`
|
|
|
|
get_vendor_deps:
|
|
go get github.com/Masterminds/glide
|
|
glide install
|