mirror of
https://gitea.com/gitea/tea.git
synced 2024-11-22 18:41:36 +01:00
89e93d90b3
Merge branch 'master' into use-glamour select Glamour Theme based on BackgroundColor Merge branch 'master' into use-glamour Merge branch 'master' into use-glamour update termev update go.mod label color colorate use glamour for issue content Vendor: Add glamour Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: 6543 <6543@obermui.de> Reviewed-on: https://gitea.com/gitea/tea/pulls/181 Reviewed-by: techknowlogick <techknowlogick@gitea.io> Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
17 lines
778 B
Makefile
17 lines
778 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:
|
|
which go-fuzz > /dev/null 2>&1 || (GO111MODULE=off go get -u github.com/dvyukov/go-fuzz/go-fuzz github.com/dvyukov/go-fuzz/go-fuzz-build; GO111MODULE=off go get -d github.com/dvyukov/go-fuzz-corpus; true)
|
|
rm -rf ./fuzz/corpus
|
|
rm -rf ./fuzz/crashers
|
|
rm -rf ./fuzz/suppressions
|
|
rm -f ./fuzz/fuzz-fuzz.zip
|
|
cd ./fuzz && go-fuzz-build
|
|
cd ./fuzz && go-fuzz
|