diff options
author | Felix Lange <fjl@twurst.com> | 2015-04-28 19:16:47 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2015-04-29 08:13:37 +0800 |
commit | c6b983e449ec97d902f263cd693cf615b790542a (patch) | |
tree | 3c04f79e1e0e1ced29a4523e84dd775131a1e002 /Makefile | |
parent | 72d88780849c8b70f565319d1c3ee93223274e0b (diff) | |
download | go-tangerine-c6b983e449ec97d902f263cd693cf615b790542a.tar go-tangerine-c6b983e449ec97d902f263cd693cf615b790542a.tar.gz go-tangerine-c6b983e449ec97d902f263cd693cf615b790542a.tar.bz2 go-tangerine-c6b983e449ec97d902f263cd693cf615b790542a.tar.lz go-tangerine-c6b983e449ec97d902f263cd693cf615b790542a.tar.xz go-tangerine-c6b983e449ec97d902f263cd693cf615b790542a.tar.zst go-tangerine-c6b983e449ec97d902f263cd693cf615b790542a.zip |
Makefile: add test target
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -1,11 +1,8 @@ # This Makefile is meant to be used by people that do not usually work # with Go source code. If you know what GOPATH is then you probably # don't need to bother with make. -# -# Note that there is no way to run the tests or do anything other than -# building the binaries. This is by design. -.PHONY: geth mist clean +.PHONY: geth mist test clean GOBIN = build/bin geth: @@ -18,5 +15,11 @@ mist: @echo "Done building." @echo "Run \"$(GOBIN)/mist --asset_path=cmd/mist/assets\" to launch mist." +all: + build/env.sh go install -v $(shell build/ldflags.sh) ./... + +test: all + build/env.sh go test ./... + clean: rm -fr build/_workspace/pkg/ Godeps/_workspace/pkg $(GOBIN)/* |