You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
606 B

9 years ago
8 years ago
8 years ago
9 years ago
8 years ago
8 years ago
9 years ago
9 years ago
8 years ago
9 years ago
8 years ago
  1. .PHONY: all test get_deps
  2. all: protoc install test
  3. NOVENDOR = go list github.com/tendermint/abci/... | grep -v /vendor/
  4. install-protoc:
  5. # Download: https://github.com/google/protobuf/releases
  6. go get github.com/golang/protobuf/protoc-gen-go
  7. protoc:
  8. protoc --go_out=plugins=grpc:. types/*.proto
  9. install:
  10. go install github.com/tendermint/abci/cmd/...
  11. test:
  12. find . -name test.sock -exec rm {} \;
  13. go test -p 1 `${NOVENDOR}`
  14. bash tests/test.sh
  15. test_integrations: get_vendor_deps install test
  16. get_deps:
  17. go get -d `${NOVENDOR}`
  18. get_vendor_deps:
  19. go get github.com/Masterminds/glide
  20. glide install