toyohime/Makefile
kare.nuorteva b751b4dc57 Rework internal structure
git-svn-id: file:///srv/svn/repo/toyohime/trunk@35 922d331f-388e-da47-97a9-ad700dc0b8b9
2017-04-24 17:29:37 +00:00

33 lines
487 B
Makefile

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