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

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