mirror of
https://codeberg.org/superseriousbusiness/gotosocial.git
synced 2024-12-24 18:08:18 +03:00
11 lines
453 B
Makefile
11 lines
453 B
Makefile
|
.PHONY: test fuzz
|
||
|
|
||
|
test:
|
||
|
go test -coverprofile=profile.out -coverpkg=github.com/yuin/goldmark,github.com/yuin/goldmark/ast,github.com/yuin/goldmark/extension,github.com/yuin/goldmark/extension/ast,github.com/yuin/goldmark/parser,github.com/yuin/goldmark/renderer,github.com/yuin/goldmark/renderer/html,github.com/yuin/goldmark/text,github.com/yuin/goldmark/util ./...
|
||
|
|
||
|
cov: test
|
||
|
go tool cover -html=profile.out
|
||
|
|
||
|
fuzz:
|
||
|
cd ./fuzz && go test -fuzz=Fuzz
|