Debian Codegraph @

Makefile

raw
1 .PHONY: all
2 all: test vet lint fmt
3
4 .PHONY: test
5 test:
6 @go test . -cover
7
8 .PHONY: vet
9 vet:
10 @go vet -all .
11
12 .PHONY: lint
13 lint:
14 @golint -set_exit_status ./...
15
16 .PHONY: fmt
17 fmt:
18 @test -z $$(go fmt ./...)
19