File: Makefile

package info (click to toggle)
golang-raft 0.0~git20140427-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 468 kB
  • ctags: 684
  • sloc: makefile: 16
file content (17 lines) | stat: -rw-r--r-- 251 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
COVERPROFILE=cover.out

default: test

cover:
	go test -coverprofile=$(COVERPROFILE) .
	go tool cover -html=$(COVERPROFILE)
	rm $(COVERPROFILE)

dependencies:
	go get -d .

test:
	go test -i ./...
	go test -v ./...

.PHONY: coverage dependencies test