diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2014-03-24 07:38:27 -0600 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-03-24 07:38:27 -0600 |
commit | 3c1ecb925ef3748ba25111599a5d3a439224204b (patch) | |
tree | 673d5901596dd4760ebcc3ea2409f60e2d5cf967 /Makefile | |
parent | Check errors from file close in DB.CopyFile (diff) | |
download | dedo-3c1ecb925ef3748ba25111599a5d3a439224204b.tar.gz dedo-3c1ecb925ef3748ba25111599a5d3a439224204b.tar.xz |
Resolve remaining errcheck warnings.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 "" |