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
763 B

  1. .PHONY: get_deps build all list_deps
  2. all: build
  3. build: get_deps
  4. go build -o tendermint github.com/tendermint/tendermint2/cmd
  5. build_race: get_deps
  6. go build -race -o tendermint github.com/tendermint/tendermint2/cmd
  7. test: build
  8. go test github.com/tendermint/tendermint2/...
  9. list_deps:
  10. go list -f '{{join .Deps "\n"}}' github.com/tendermint/tendermint2/... | xargs go list -f '{{if not .Standard}}{{.ImportPath}}{{end}}'
  11. get_deps:
  12. go get github.com/tendermint/tendermint2/...
  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