Makefile
raw| 1 | .PHONY: test fuzz lint gen |
| 2 | |
| 3 | lint: |
| 4 | golangci-lint run -c .golangci.yml ./... |
| 5 | |
| 6 | test: |
| 7 | 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 ./... |
| 8 | |
| 9 | cov: test |
| 10 | go tool cover -html=profile.out |
| 11 | |
| 12 | fuzz: |
| 13 | cd ./fuzz && go test -fuzz=FuzzDefault |
| 14 | |
| 15 | gen: |
| 16 | go generate ./... |