Debian Codegraph @

Makefile

raw
1 BRANCH=`git rev-parse --abbrev-ref HEAD`
2 COMMIT=`git rev-parse --short HEAD`
3 GOLDFLAGS="-X main.branch $(BRANCH) -X main.commit $(COMMIT)"
4
5 default: build
6
7 race:
8 @go test -v -race -test.run="TestSimulate_(100op|1000op)"
9
10 # go get github.com/kisielk/errcheck
11 errcheck:
12 @errcheck -ignorepkg=bytes -ignore=os:Remove github.com/boltdb/bolt
13
14 test:
15 @go test -v -cover .
16 @go test -v ./cmd/bolt
17
18 .PHONY: fmt test