Adds makefile

This commit is contained in:
Stephen McQuay 2018-03-02 23:23:23 -08:00
parent 52a4a7ed7b
commit eef69d299a
Signed by: sm
GPG Key ID: 4E4B72F479BA3CE5
1 changed files with 10 additions and 0 deletions

10
Makefile Normal file
View File

@ -0,0 +1,10 @@
default: lint test
.PHONY: lint
lint:
@golint $(shell go list mcquay.me/pm/...)
@go vet $(shell go list mcquay.me/pm/...)
.PHONY: test
test:
@go test -cover $(shell go list mcquay.me/pm/...)