Debian Codegraph @

Makefile

raw symbols SCIP
1
2 .DEFAULT_GOAL := test
3
4 .PHONY: test
5 test:
6 go test -v -race -cover ./...
7
8 .PHONY: bench
9 bench:
10 go test -v -run - -bench . -benchmem ./...
11
12 .PHONY: lint
13 lint:
14 # Ignore grep's exit code since no match returns 1.
15 -golint ./... | grep --invert-match -E '^.*\.pb\.go'
16 @
17 @! (golint ./... |grep --invert-match -E '^.*\.pb\.go' | read dummy)
18
19 .PHONY: vet
20 vet:
21 go vet ./...
22
23 .PHONY: example
24 example:
25 go build -o build/dapperish-example ./examples/dapperish.go
26 ./build/dapperish-example