summaryrefslogtreecommitdiff
path: root/cmd/ponzu/vendor/github.com/boltdb/bolt/Makefile
diff options
context:
space:
mode:
authorSteve <nilslice@gmail.com>2016-10-19 13:54:40 -0700
committerGitHub <noreply@github.com>2016-10-19 13:54:40 -0700
commitc33b9254cb890b7137aa0cae31bd1c3311d902e7 (patch)
tree1dbf58f4e594a6c8a9f897a76a0255ec19d8fb47 /cmd/ponzu/vendor/github.com/boltdb/bolt/Makefile
parent46bf18fe0e6d80e25d44f1f4e6c3094e8977074a (diff)
parentd10db9f1799976aee60254dd7c73e73cf019ca6c (diff)
Merge pull request #5 from bosssauce/ponzu-dev
[dependency] Vendor all dependencies
Diffstat (limited to 'cmd/ponzu/vendor/github.com/boltdb/bolt/Makefile')
m---------cmd/ponzu/vendor/github.com/boltdb/bolt0
-rw-r--r--cmd/ponzu/vendor/github.com/boltdb/bolt/Makefile18
2 files changed, 18 insertions, 0 deletions
diff --git a/cmd/ponzu/vendor/github.com/boltdb/bolt b/cmd/ponzu/vendor/github.com/boltdb/bolt
deleted file mode 160000
-Subproject 074dffcc83e9f421e261526d297cd93f22a3408
diff --git a/cmd/ponzu/vendor/github.com/boltdb/bolt/Makefile b/cmd/ponzu/vendor/github.com/boltdb/bolt/Makefile
new file mode 100644
index 0000000..e035e63
--- /dev/null
+++ b/cmd/ponzu/vendor/github.com/boltdb/bolt/Makefile
@@ -0,0 +1,18 @@
+BRANCH=`git rev-parse --abbrev-ref HEAD`
+COMMIT=`git rev-parse --short HEAD`
+GOLDFLAGS="-X main.branch $(BRANCH) -X main.commit $(COMMIT)"
+
+default: build
+
+race:
+ @go test -v -race -test.run="TestSimulate_(100op|1000op)"
+
+# go get github.com/kisielk/errcheck
+errcheck:
+ @errcheck -ignorepkg=bytes -ignore=os:Remove github.com/boltdb/bolt
+
+test:
+ @go test -v -cover .
+ @go test -v ./cmd/bolt
+
+.PHONY: fmt test