schnutibox/vendor/github.com/philip-bui/grpc-zerolog/Makefile
Marvin Preuss 63a16a3253
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone Build was killed
modifies the command line interface handling / timer work
2021-08-09 10:49:04 +02:00

18 lines
343 B
Makefile

PORT?=8000
PACKAGE:=github.com/philip-bui/grpc-zerolog
COVERAGE:=coverage.txt
proto:
protoc -I protos/ protos/*.proto --go_out=plugins=grpc:protos
godoc:
echo "localhost:${PORT}/pkg/${PACKAGE}"
godoc -http=:${PORT}
.PHONY: test
test:
go test -race -coverprofile=${COVERAGE} -covermode=atomic
coverage:
go tool cover -html=${COVERAGE}