|
@ -5,7 +5,7 @@ GOTOOLS = \ |
|
|
|
|
|
|
|
|
all: protoc install test |
|
|
all: protoc install test |
|
|
|
|
|
|
|
|
NOVENDOR = go list github.com/tendermint/abci/... | grep -v /vendor/ |
|
|
|
|
|
|
|
|
PACKAGES=$(shell go list ./... | grep -v '/vendor/') |
|
|
|
|
|
|
|
|
install-protoc: |
|
|
install-protoc: |
|
|
# Download: https://github.com/google/protobuf/releases |
|
|
# Download: https://github.com/google/protobuf/releases |
|
@ -27,7 +27,7 @@ dist: |
|
|
# test.sh requires that we run the installed cmds, must not be out of date
|
|
|
# test.sh requires that we run the installed cmds, must not be out of date
|
|
|
test: install |
|
|
test: install |
|
|
find . -path ./vendor -prune -o -name *.sock -exec rm {} \; |
|
|
find . -path ./vendor -prune -o -name *.sock -exec rm {} \; |
|
|
@ go test -p 1 `${NOVENDOR}` |
|
|
|
|
|
|
|
|
@ go test $(PACKAGES) |
|
|
@ bash tests/test.sh |
|
|
@ bash tests/test.sh |
|
|
|
|
|
|
|
|
fmt: |
|
|
fmt: |
|
@ -36,7 +36,7 @@ fmt: |
|
|
test_integrations: get_vendor_deps install test |
|
|
test_integrations: get_vendor_deps install test |
|
|
|
|
|
|
|
|
get_deps: |
|
|
get_deps: |
|
|
@ go get -d `${NOVENDOR}` |
|
|
|
|
|
|
|
|
@ go get -d $(PACKAGES) |
|
|
|
|
|
|
|
|
tools: |
|
|
tools: |
|
|
go get -u -v $(GOTOOLS) |
|
|
go get -u -v $(GOTOOLS) |
|
|