Makefile 818 B

12345678910111213141516171819202122232425262728
  1. # This Makefile is meant to be used by people that do not usually work
  2. # with Go source code. If you know what GOPATH is then you probably
  3. # don't need to bother with make.
  4. .PHONY: geth mist all test travis-test-with-coverage clean
  5. GOBIN = build/bin
  6. geth:
  7. build/env.sh go install -v $(shell build/ldflags.sh) ./cmd/geth
  8. @echo "Done building."
  9. @echo "Run \"$(GOBIN)/geth\" to launch geth."
  10. mist:
  11. build/env.sh go install -v $(shell build/ldflags.sh) ./cmd/mist
  12. @echo "Done building."
  13. @echo "Run \"$(GOBIN)/mist --asset_path=cmd/mist/assets\" to launch mist."
  14. all:
  15. build/env.sh go install -v $(shell build/ldflags.sh) ./...
  16. test: all
  17. build/env.sh go test ./...
  18. travis-test-with-coverage: all
  19. build/env.sh build/test-global-coverage.sh
  20. clean:
  21. rm -fr build/_workspace/pkg/ Godeps/_workspace/pkg $(GOBIN)/*