diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..c53b1cd --- /dev/null +++ b/Makefile @@ -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