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.

36 lines
1.3 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. tendermint_root/priv_validator.json: tendermint_root/priv_validator.json.orig
  22. cp $< $@
  23. economy: tendermint_root/priv_validator.json
  24. docker run -v $(CURDIR)/tendermint_root:/tendermint_root -p 46656:46656 tendermint
  25. clean:
  26. rm -f tendermint tendermint_root/priv_validator.json