File: Makefile

package info (click to toggle)
golang-github-mailgun-ttlmap 0.0~git20170619.c1c17f7-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 104 kB
  • sloc: makefile: 18
file content (21 lines) | stat: -rw-r--r-- 496 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 -cover -v ./...

coverage: clean
	go test -coverprofile=/tmp/coverage.out -v ./...
	go tool cover -func=/tmp/coverage.out

htmlcoverage: clean
	go test -covermode=count -coverprofile=/tmp/coverage.out -v ./...
	go tool cover -html=/tmp/coverage.out

deps:
	go get -v -u launchpad.net/gocheck
	go get -v -u github.com/mailgun/minheap
	go get -v -u github.com/mailgun/timetools

clean:
	find . -name flymake_* -delete

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