feat: add new makefile

This commit is contained in:
decentral1se 2021-10-20 17:28:26 +02:00
parent 31aa25a8ee
commit bb7049ac2d
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 8 additions and 0 deletions

8
Makefile Normal file
View File

@ -0,0 +1,8 @@
build:
@go build .
check:
@test -z $$(gofmt -l .) || (echo "gofmt: formatting issue - run 'make format' to resolve" && exit 1)
test:
@go test . -cover