summaryrefslogtreecommitdiff
path: root/cmd/ponzu/vendor/github.com/boltdb/bolt/Makefile
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-10-19 13:50:05 -0700
committerSteve Manuel <nilslice@gmail.com>2016-10-19 13:50:05 -0700
commitea078f9b4221332b9f63cc4e178aa814eec06e4f (patch)
treea90da6f77f265ce63c82da73f502f324bfb89ebc /cmd/ponzu/vendor/github.com/boltdb/bolt/Makefile
parentea8ea4c22662aa082181a6c456ec56acf2bd777c (diff)
vendoring all the dependencies into vendor directory prior to build step, which still vendors ponzu core code
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