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.

30 lines
689 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.sh requires that we run the installed cmds, must not be out of date
  12. test: install
  13. find . -name test.sock -exec rm {} \;
  14. go test -p 1 `${NOVENDOR}`
  15. bash tests/test.sh
  16. test_integrations: get_vendor_deps install test
  17. get_deps:
  18. go get -d `${NOVENDOR}`
  19. get_vendor_deps:
  20. go get github.com/Masterminds/glide
  21. glide install