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.

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