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.

27 lines
758 B

  1. .PHONY: get_deps build all list_deps
  2. all: build
  3. build: get_deps
  4. go build -o tendermint github.com/tendermint/tendermint/cmd
  5. build_race: get_deps
  6. go build -race -o tendermint github.com/tendermint/tendermint/cmd
  7. test: build
  8. go test github.com/tendermint/tendermint/...
  9. list_deps:
  10. go list -f '{{join .Deps "\n"}}' github.com/tendermint/tendermint/... | xargs go list -f '{{if not .Standard}}{{.ImportPath}}{{end}}'
  11. get_deps:
  12. go get github.com/tendermint/tendermint/...
  13. tendermint_root/priv_validator.json: tendermint_root/priv_validator.json.orig
  14. cp $< $@
  15. economy: tendermint_root/priv_validator.json
  16. docker run -v $(CURDIR)/tendermint_root:/tendermint_root -p 8080:8080 tendermint
  17. clean:
  18. rm -f tendermint tendermint_root/priv_validator.json