add makefile

This commit is contained in:
lyyyuna 2020-07-10 10:20:43 +08:00
parent 802ef514d0
commit 92c3420273

13
Makefile Normal file
View File

@ -0,0 +1,13 @@
DEFAULT_EXCEPT_PKGS := e2e
all:
go install ./...
test:
go test -cover -p 1 `go list ./... | grep -v -E ${DEFAULT_EXCEPT_PKGS}`
fmt:
go fmt ./...
govet-check:
go vet ./...