chore: typst 0.13 updates (#113)
* chore: upgrade linguify * chore: update tests * fix: remove deprecated type checks * chore: improve Justfile docs * chore: compile with typst 0.12 and 0.13 in CI * chore: use tytanic for testing * chore: use tytanic in CI * fix: don't use ubuntu-latest * fix: test runner issues * chore: trying to fix CI issues * fix: remove unused font in tests * fix: update references
This commit is contained in:
34
Justfile
34
Justfile
@@ -7,39 +7,51 @@ default:
|
||||
@just --list --unsorted
|
||||
|
||||
# generate manual
|
||||
[doc('Generate package documentation')]
|
||||
[group('package')]
|
||||
doc:
|
||||
typst compile docs/manual.typ docs/manual.pdf
|
||||
|
||||
# run test suite
|
||||
test *args:
|
||||
typst-test run {{ args }}
|
||||
[doc('Run test suite. Requires tytanic.')]
|
||||
[group('dev')]
|
||||
test *args: install
|
||||
tt run {{ args }} --use-system-fonts --no-fail-fast
|
||||
|
||||
# update test cases
|
||||
[doc('Update test cases. Requires tytanic.')]
|
||||
[group('dev')]
|
||||
update *args:
|
||||
typst-test update {{ args }}
|
||||
tt update {{ args }} --use-system-fonts
|
||||
|
||||
# package the library into the specified destination folder
|
||||
[doc('Package the library into the specified destination folder')]
|
||||
[group('package')]
|
||||
package target:
|
||||
./scripts/package "{{target}}"
|
||||
|
||||
# install the library with the "@local" prefix
|
||||
[doc('Install the library with the "@local" prefix')]
|
||||
[group('dev')]
|
||||
install: (package "@local")
|
||||
|
||||
# install the library with the "@preview" prefix (for pre-release testing)
|
||||
[doc('Install the library with the "@preview" prefix (for pre-release testing)')]
|
||||
[group('dev')]
|
||||
install-preview: (package "@preview")
|
||||
|
||||
[private]
|
||||
remove target:
|
||||
./scripts/uninstall "{{target}}"
|
||||
|
||||
# uninstalls the library from the "@local" prefix
|
||||
[doc('Uninstall the library from the "@local" prefix')]
|
||||
[group('dev')]
|
||||
uninstall: (remove "@local")
|
||||
|
||||
# uninstalls the library from the "@preview" prefix (for pre-release testing)
|
||||
[doc('Uninstall the library from the "@preview" prefix (for pre-release testing)')]
|
||||
[group('dev')]
|
||||
uninstall-preview: (remove "@preview")
|
||||
|
||||
[doc('Format the source code. Requires typstyle.')]
|
||||
[group('dev')]
|
||||
format:
|
||||
./scripts/format
|
||||
|
||||
# run ci suite
|
||||
[doc('Run ci suite')]
|
||||
[group('dev')]
|
||||
ci: test doc
|
||||
|
||||
Reference in New Issue
Block a user