diff options
| author | Ben Johnson <benbjohnson@yahoo.com> | 2014-01-11 22:51:01 -0700 |
|---|---|---|
| committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-01-11 22:51:01 -0700 |
| commit | ee24437bfcb34dbf2549ecd26adc972c1eb7dc16 (patch) | |
| tree | 5fe178109b3ece4a4d66fdc40cfbd70e52f48850 /Makefile | |
| parent | DB.Open(), pages, and meta. (diff) | |
| download | dedo-ee24437bfcb34dbf2549ecd26adc972c1eb7dc16.tar.gz dedo-ee24437bfcb34dbf2549ecd26adc972c1eb7dc16.tar.xz | |
Initial db.open.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..decd960 --- /dev/null +++ b/Makefile @@ -0,0 +1,20 @@ +PKG=./... +TEST=. +BENCH=. +COVERPROFILE=/tmp/c.out + +bench: benchpreq + go test -v -test.bench=$(BENCH) ./.bench + +cover: fmt + go test -coverprofile=$(COVERPROFILE) . + go tool cover -html=$(COVERPROFILE) + rm $(COVERPROFILE) + +fmt: + @go fmt ./... + +test: fmt + @go test -v -cover -test.run=$(TEST) $(PKG) + +.PHONY: bench cover fmt test |
