set up tytanic with basic test
This commit is contained in:
8
justfile
8
justfile
@ -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
4
tests/empty/.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# generated by tytanic, do not edit
|
||||||
|
|
||||||
|
diff/**
|
||||||
|
out/**
|
BIN
tests/empty/ref/1.png
Normal file
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
6
tests/empty/test.typ
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#set page(width: auto, height: auto)
|
||||||
|
#import "/src/lib.typ": *
|
||||||
|
|
||||||
|
#diagram({})
|
||||||
|
|
||||||
|
#diagram(())
|
Reference in New Issue
Block a user