set up tytanic with basic test

This commit is contained in:
2025-07-14 18:04:26 +02:00
parent 5e70e5179f
commit cdfdd96966
4 changed files with 17 additions and 1 deletions

View File

@ -9,4 +9,10 @@ manual:
gallery: gallery:
for f in "{{gallery_dir}}"/*.typ; do typst c --root . "$f" "${f%typ}pdf"; done for f in "{{gallery_dir}}"/*.typ; do typst c --root . "$f" "${f%typ}pdf"; done
for f in "{{gallery_dir}}"/readme/*.typ; do typst c --root . "$f" "${f%typ}png"; done for f in "{{gallery_dir}}"/readme/*.typ; do typst c --root . "$f" "${f%typ}png"; done
test *filter:
tt run {{filter}}
update-test *filter:
tt update {{filter}}

4
tests/empty/.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
# generated by tytanic, do not edit
diff/**
out/**

BIN
tests/empty/ref/1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 B

6
tests/empty/test.typ Normal file
View File

@ -0,0 +1,6 @@
#set page(width: auto, height: auto)
#import "/src/lib.typ": *
#diagram({})
#diagram(())