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

  1. .PHONEY: all docs test install get_vendor_deps ensure_tools codegen
  2. GOTOOLS = \
  3. github.com/Masterminds/glide
  4. REPO:=github.com/tendermint/go-crypto
  5. docs:
  6. @go get github.com/davecheney/godoc2md
  7. godoc2md $(REPO) > README.md
  8. all: install test
  9. install:
  10. go install ./cmd/keys
  11. test:
  12. go test `glide novendor`
  13. get_vendor_deps: ensure_tools
  14. @rm -rf vendor/
  15. @echo "--> Running glide install"
  16. @glide install
  17. ensure_tools:
  18. go get $(GOTOOLS)
  19. prepgen: install
  20. go install ./vendor/github.com/btcsuite/btcutil/base58
  21. go install ./vendor/github.com/stretchr/testify/assert
  22. go install ./vendor/github.com/stretchr/testify/require
  23. go install ./vendor/golang.org/x/crypto/bcrypt
  24. codegen:
  25. @echo "--> regenerating all interface wrappers"
  26. @gen
  27. @echo "Done!"