From 3c1ecb925ef3748ba25111599a5d3a439224204b Mon Sep 17 00:00:00 2001 From: Ben Johnson Date: Mon, 24 Mar 2014 07:38:27 -0600 Subject: Resolve remaining errcheck warnings. --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 4cc71b6..2d0fd3f 100644 --- a/Makefile +++ b/Makefile @@ -18,10 +18,15 @@ cpuprofile: fmt @go test -c @./bolt.test -test.v -test.run="^X" -test.bench=$(BENCH) -test.cpuprofile cpu.prof +# go get github.com/kisielk/errcheck +errcheck: + @echo "=== errcheck ===" + @errcheck github.com/boltdb/bolt + fmt: @go fmt ./... -test: fmt +test: fmt errcheck @echo "=== TESTS ===" @go test -v -cover -test.run=$(TEST) @echo "" -- cgit v1.2.3