toyohime/Makefile
kare.nuorteva 1bb417b6e8 Makefile: fix typo
git-svn-id: file:///srv/svn/repo/toyohime/trunk@71 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-01-11 13:57:48 +00:00

27 lines
391 B
Makefile

NAME := kkn.fi/vanity
.PHONY: build
build:
go build $(NAME)
.PHONY: test
test:
go test -v $(NAME)
.PHONY: lint
lint:
gometalinter ./...
.PHONY: cover
cover:
go test -coverprofile=coverage.out $(NAME)
go tool cover -html=coverage.out
@rm -f coverage.out
.PHONY: heat
heat:
go test -covermode=count -coverprofile=count.out $(NAME)
go tool cover -html=count.out
@rm -f count.out