aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f4964a6..81beac3 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ BRANCH=`git rev-parse --abbrev-ref HEAD`
COMMIT=`git rev-parse --short HEAD`
GOLDFLAGS="-X main.branch $(BRANCH) -X main.commit $(COMMIT)"
-bench: benchpreq
+bench:
go test -v -test.bench=$(BENCH)
# http://cloc.sourceforge.net/
@@ -35,6 +35,7 @@ get:
build: get
@mkdir -p bin
@go build -ldflags=$(GOLDFLAGS) -a -o bin/bolt-`git rev-parse --short HEAD` ./cmd/bolt
+ @echo "writing bin/bolt-`git rev-parse --short HEAD`"
test: fmt errcheck
@go get github.com/stretchr/testify/assert