Skip to content

Commit

Permalink
chore: add more local dev targets
Browse files Browse the repository at this point in the history
  • Loading branch information
smlx committed Jan 11, 2024
1 parent 37b9e8a commit c338c1a
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c338c1a

Please sign in to comment.