blob: 7bef51b7f3aa1e481657242d80d0210f21a30eb0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
.PHONY: test fuzz lint gen
lint:
golangci-lint run -c .golangci.yml ./...
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=FuzzDefault
gen:
go generate ./...
|