summaryrefslogtreecommitdiff
path: root/vendor/github.com/yuin/goldmark/Makefile
diff options
context:
space:
mode:
authorLibravatar Autumn! <86073772+autumnull@users.noreply.github.com>2022-12-16 11:20:22 +0000
committerLibravatar GitHub <noreply@github.com>2022-12-16 12:20:22 +0100
commiteb08529f35ce33ed98c34fb48013f0f4a5fc9635 (patch)
tree394fd774a943f5c33ce793c67b5865f2570b46c5 /vendor/github.com/yuin/goldmark/Makefile
parent[bugfix] use match-sorter for filtering domain blocks (#1270) (diff)
downloadgotosocial-eb08529f35ce33ed98c34fb48013f0f4a5fc9635.tar.xz
[chore/bugfix] Switch markdown from blackfriday to goldmark (#1267)
Co-authored-by: Autumn! <autumnull@posteo.net>
Diffstat (limited to 'vendor/github.com/yuin/goldmark/Makefile')
-rw-r--r--vendor/github.com/yuin/goldmark/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/vendor/github.com/yuin/goldmark/Makefile b/vendor/github.com/yuin/goldmark/Makefile
new file mode 100644
index 000000000..e34fe866a
--- /dev/null
+++ b/vendor/github.com/yuin/goldmark/Makefile
@@ -0,0 +1,10 @@
+.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