Debian Codegraph @

Makefile

raw
1 test: clean
2 go test -v ./...
3
4 coverage: clean
5 gocov test -v ./... | gocov report
6
7 annotate: clean
8 FILENAME=$(shell uuidgen)
9 gocov test -v ./... > /tmp/--go-test-server-coverage.json
10 gocov annotate /tmp/--go-test-server-coverage.json $(fn)
11
12 deps:
13 go get -v -u github.com/axw/gocov
14 go install github.com/axw/gocov/gocov
15 go get -v -u launchpad.net/gocheck
16
17 clean:
18 find . -name flymake_* -delete
19
20 msloccount:
21 find . -name "*.go" -print0 | xargs -0 wc -l