diff --git a/Makefile b/Makefile index 7ac94907..64d11a6f 100644 --- a/Makefile +++ b/Makefile @@ -14,4 +14,14 @@ generate: mod-tidy .PHONY: build build: - GOVERSION=$$(go version) goreleaser build --rm-dist --debug --snapshot + GOVERSION=$$(go version) \ + goreleaser build --clean --debug --single-target --snapshot + +.PHONY: fuzz +fuzz: mod-tidy generate + go test -fuzz='^Fuzz' -fuzztime=10s -v ./internal/server + +.PHONY: cover +cover: mod-tidy generate + go test -v -covermode=atomic -coverprofile=cover.out -coverpkg=./... ./... + go tool cover -html=cover.out