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.

33 lines
809 B

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