github.com/immesys/bw2bc@v1.1.0/Makefile (about)

     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  
     5  .PHONY: geth evm mist all test travis-test-with-coverage clean
     6  GOBIN = build/bin
     7  
     8  geth:
     9  	build/env.sh go install -v $(shell build/ldflags.sh) ./cmd/geth
    10  	@echo "Done building."
    11  	@echo "Run \"$(GOBIN)/geth\" to launch geth."
    12  
    13  evm:
    14  	build/env.sh $(GOROOT)/bin/go install -v $(shell build/ldflags.sh) ./cmd/evm
    15  	@echo "Done building."
    16  	@echo "Run \"$(GOBIN)/evm to start the evm."
    17  mist:
    18  	build/env.sh go install -v $(shell build/ldflags.sh) ./cmd/mist
    19  	@echo "Done building."
    20  	@echo "Run \"$(GOBIN)/mist --asset_path=cmd/mist/assets\" to launch mist."
    21  
    22  all:
    23  	build/env.sh go install -v $(shell build/ldflags.sh) ./...
    24  
    25  test: all
    26  	build/env.sh go test ./...
    27  
    28  travis-test-with-coverage: all
    29  	build/env.sh build/test-global-coverage.sh
    30  
    31  clean:
    32  	rm -fr build/_workspace/pkg/ Godeps/_workspace/pkg $(GOBIN)/*