Debian Codegraph @

Makefile

raw
1 all: vet staticcheck test
2
3 test:
4 go test -covermode=count -coverprofile=coverage.out .
5
6 showcoverage: test
7 go tool cover -html=coverage.out
8
9 vet:
10 go vet .
11
12 lint:
13 golint .
14
15 staticcheck:
16 staticcheck .
17
18 gettools:
19 go get -u honnef.co/go/tools/...
20 go get -u golang.org/x/lint/golint