text-crossrefs: automatically regenerate tests via Make
This commit is contained in:
@ -32,3 +32,11 @@ test-%: text-crossrefs.lua sample.md
|
||||
fi ;\
|
||||
rm test/tmp-$*$(suffix).native ;\
|
||||
)
|
||||
|
||||
update-test-files:
|
||||
for f in typst opendocument latex context ; do \
|
||||
for v in '' -with-options ; do \
|
||||
TESTED_FORMAT=$$f pandoc -L text-crossrefs.lua -t native \
|
||||
-o test/sample-$$f$$v.native sample$$v.md ; \
|
||||
done ; \
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user