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.

41 lines
1.4 KiB

  1. .PHONY: get_deps build all list_deps
  2. all: build
  3. build: get_deps
  4. go build -o build/tendermint github.com/tendermint/tendermint/cmd/tendermint
  5. go build -o build/barak github.com/tendermint/tendermint/cmd/barak
  6. go build -o build/debora github.com/tendermint/tendermint/cmd/debora
  7. no_get:
  8. go build -o build/tendermint github.com/tendermint/tendermint/cmd/tendermint
  9. go build -o build/barak github.com/tendermint/tendermint/cmd/barak
  10. go build -o build/debora github.com/tendermint/tendermint/cmd/debora
  11. build_race: get_deps
  12. go build -race -o build/tendermint github.com/tendermint/tendermint/cmd/tendermint
  13. go build -race -o build/barak github.com/tendermint/tendermint/cmd/barak
  14. go build -race -o build/debora github.com/tendermint/tendermint/cmd/debora
  15. test: build
  16. go test github.com/tendermint/tendermint/...
  17. list_deps:
  18. go list -f '{{join .Deps "\n"}}' github.com/tendermint/tendermint/... | xargs go list -f '{{if not .Standard}}{{.ImportPath}}{{end}}'
  19. get_deps:
  20. go get github.com/tendermint/tendermint/...
  21. gen_client:
  22. go get -u github.com/ebuchman/go-rpc-gen
  23. go install github.com/ebuchman/go-rpc-gen
  24. go generate rpc/core_client/*.go
  25. tendermint_root/priv_validator.json: tendermint_root/priv_validator.json.orig
  26. cp $< $@
  27. economy: tendermint_root/priv_validator.json
  28. docker run -v $(CURDIR)/tendermint_root:/tendermint_root -p 46656:46656 tendermint
  29. clean:
  30. rm -f tendermint tendermint_root/priv_validator.json