summaryrefslogtreecommitdiff
path: root/cmd/ponzu/vendor/github.com/boltdb/bolt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/ponzu/vendor/github.com/boltdb/bolt/Makefile')
-rw-r--r--cmd/ponzu/vendor/github.com/boltdb/bolt/Makefile18
1 files changed, 18 insertions, 0 deletions
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