summaryrefslogtreecommitdiff
path: root/vendor/github.com/yuin/goldmark/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/yuin/goldmark/Makefile')
-rw-r--r--vendor/github.com/yuin/goldmark/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/vendor/github.com/yuin/goldmark/Makefile b/vendor/github.com/yuin/goldmark/Makefile
new file mode 100644
index 0000000..7bef51b
--- /dev/null
+++ b/vendor/github.com/yuin/goldmark/Makefile
@@ -0,0 +1,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 ./...