File: Makefile

package info (click to toggle)
golang-github-mailgun-minheap 0.0~git20170619.3dbe6c6-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 92 kB
  • sloc: makefile: 18
file content (21 lines) | stat: -rw-r--r-- 461 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
test: clean
	go test -v ./...

coverage: clean
	gocov test -v ./... | gocov report

annotate: clean
	FILENAME=$(shell uuidgen)
	gocov test -v ./... > /tmp/--go-test-server-coverage.json
	gocov annotate /tmp/--go-test-server-coverage.json $(fn)

deps:
	go get -v -u github.com/axw/gocov
	go install github.com/axw/gocov/gocov
	go get -v -u launchpad.net/gocheck

clean:
	find . -name flymake_* -delete

msloccount:
	 find . -name "*.go" -print0 | xargs -0 wc -l