aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Johnson <benbjohnson@yahoo.com>2014-04-08 14:04:21 -0600
committerBen Johnson <benbjohnson@yahoo.com>2014-04-08 14:04:21 -0600
commitac2d4f0336186dfca5e84f279392b874d57407cc (patch)
treee854373dcd19ad1c5675615a546a1abb38fa84d7
parentUpdate cursor benchmark. (diff)
parentMerge pull request #121 from snormore/makefile_env (diff)
downloaddedo-ac2d4f0336186dfca5e84f279392b874d57407cc.tar.gz
dedo-ac2d4f0336186dfca5e84f279392b874d57407cc.tar.xz
Merge branch 'master' of https://github.com/boltdb/bolt
-rw-r--r--Makefile8
-rw-r--r--README.md2
2 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2d0fd3f..ec11e77 100644
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,15 @@ errcheck:
fmt:
@go fmt ./...
+get:
+ @go get -d ./...
+
+build: get
+ @mkdir -p bin
+ @go build -a -o bin/bolt-`git rev-parse --short HEAD` ./cmd/bolt
+
test: fmt errcheck
+ @go get github.com/stretchr/testify/assert
@echo "=== TESTS ==="
@go test -v -cover -test.run=$(TEST)
@echo ""
diff --git a/README.md b/README.md
index a249cb2..cd5ec6e 100644
--- a/README.md
+++ b/README.md
@@ -14,7 +14,7 @@ Since Bolt is meant to be used as such a low-level piece of functionality, simpl
## Project Status
-Bolt is functionally complete and has nearly full unit test coverage. The library test suite also includes randomized black box testing to ensure database consistency and thread safety. Bolt is currently in use in a few project, however, it is still at a beta stage so please use with caution and report any bugs found.
+Bolt is functionally complete and has nearly full unit test coverage. The library test suite also includes randomized black box testing to ensure database consistency and thread safety. Bolt is currently in use in a few projects, however, it is still at a beta stage so please use with caution and report any bugs found.
## Comparing Bolt vs LMDB