tytanic-update(1)
π¦ tytanic-update β the tt update page, bestie edition π
okay so you found tytanic-update(1), the part of the tytanic manual where we compile stuff and update tests. this is the general commands manual and honestly it ate. let's go π
β¨ NAME β¨
tytanic-update β compile and update tests π§
β¨ SYNOPSIS β¨
tt update [--timestamp] [--warnings] [--diagnostic-format] [--compare]
[--no-compare] [--max-delta] [--max-deviations] [--dir] [-r|--root]
[-j|--jobs] [--ppi] [--render-bleed] [--vcs] [--export-ephemeral]
[--use-embedded-fonts] [--no-export-ephemeral] [--no-use-embedded-fonts]
[--optimize-refs] [--use-system-fonts] [--no-optimize-refs]
[--no-use-system-fonts] [-f|--fail-fast] [--font-path]
[-F|--no-fail-fast] [--package-path] [-e|--expression]
[--package-cache-path] [--certificate] [-s|--skip] [--color]
[-S|--no-skip] [--force] [-v|--verbose]... [-h|--help] [TEST]
like yes that's a lot of flags, but we're gonna get through them together, no cap π«Ά
πΈ DESCRIPTION πΈ
Compile and update tests. that's the whole vibe. it compiles ur tests and updates them. periodt π
β¨ OPTIONS β¨
--timestamp <now|<UNIX_TIMESTAMP>>[default:0] β the timestamp used for compilation β°. for more info, seehttps://reproducible-builds.org/specs/source-date-epoch/. may also be specified with theSOURCE_DATE_EPOCHenvironment variable.--warnings <WHAT>[default:emit] β how to handle warnings. the possible values are:ignore: ignore warnings πemit: emit warningspromote: promote warnings to errors π₯
--diagnostic-format <FORMAT>[default:human] β the diagnostic format to use. possible values:human: display richly formatted messages showing the source code and context πshort: display short single-line diagnostics
--compareβ compare tests if they have references (this is the default) π--no-compareβ don't compare tests--max-delta <MAX_DELTA>β the maximum allowed delta per pixel. so like, if a single channel (red/green/blue/alpha component) of a pixel differs by more than this much between reference and output, the pixel is counted as a deviation. defaults to1, and can be configured in the manifest.--max-deviations <MAX_DEVIATIONS>β the maximum allowed deviations per comparison. if a reference and output image have more than this, then it's counted as a comparison failure π. defaults to0, and can be configured in the manifest.--dir <DIR>β the document direction. this is used to correctly align images with different dimensions when generating diff images. defaults toltr, and can be configured in the manifest. possible values:ltr: the document is read left-to-rightrtl: the document is read right-to-left
-r,--root <ROOT>β the project root directory. if none is given, then the first ancestor with atypst.tomlis used. may also be specified with theTYPST_ROOTenvironment variable π±-j,--jobs <JOBS>β the number of threads to use for compilation π§΅--ppi <PPI>β the pixel-per-inch value to use for export. defaults to144.0, and can be configured in the manifest.--render-bleed <RENDER_BLEED>β whether the rendered export should have it's bleed regions rendered. defaults tofalse, and can be configured in the manifest. possible values:truefalse
--vcs <VCS>[default:auto] β the version control system to use. possible values:auto: auto detect the VCS from the current directory πgit: Gitsapling: a git-compatible VCS developed at Metajujutsu: a git-compatible VCS
--export-ephemeralβ export ephemeral documents (the default β¨). ephemeral documents are those which are created for each test run, i.e. non-persistent ones.--no-export-ephemeralβ don't export temporaries--optimize-refsβ optimize persistent references (default π--no-optimize-refsβ don't optimize persistent references-f,--fail-fastβ abort after the first test failure (default)-F,--no-fail-fastβ don't abort after the first test failure-e,--expression <EXPR>β a test set expression for filtering tests. see the language reference and guide athttps://typst-community.github.io/tytanic/index.htmlfor more info π¦-s,--skipβ automatically remove skipped tests from test sets (default). equivalent to wrapping the test set expression in(...) ~ skip().-S,--no-skipβ don't automatically remove skipped tests from test sets--forceβ update all included tests, even if they didn't fail πͺ-h,--helpβ print help (see a summary with-h)[TEST]β the tests to operate on. this will always ignore the[skip]annotation and fail if a test can't be found. like it does not care, bestie π
π FONT OPTIONS π
--use-embedded-fontsβ use embedded fonts (default)--no-use-embedded-fontsβ don't use embedded fonts--use-system-fontsβ use system fonts--no-use-system-fontsβ don't use system fonts (default)--font-path <DIR>β add a directory to read fonts from (can be repeated π). may also be specified with theTYPST_FONT_PATHSenvironment variable.
π PACKAGE OPTIONS π
--package-path <DIR>β custom path to local packages, defaults to system-dependent location. may also be specified with theTYPST_PACKAGE_PATHenvironment variable.--package-cache-path <DIR>β custom path to package cache, defaults to system-dependent location. may also be specified with theTYPST_PACKAGE_CACHE_PATHenvironment variable.--certificate <CERTIFICATE>β path to a custom CA certificate to use when making network requests π. may also be specified with theTYPST_CERTenvironment variable.
π OUTPUT OPTIONS π
--color[=<WHEN>][default:auto] β when to use colorful output πΈ. if set toauto, color will only be enabled if a capable terminal is detected. possible values:autoalwaysnever
-v,--verboseβ produce more logging output [-v ... -vvvvv]. logs are written tostderr, and the increasing number of verbose flags corresponds to the log levelsERROR,WARN,INFO,DEBUG,TRACEπ«Ά
ngl the-vthing is giving main character energy β stack them up to-vvvvvand you get the whole lore.
lowkey reminder before you dip:[TEST]always ignores the[skip]annotation and fails if a test can't be found. no soft launches here π
okay bye bestie, go update those tests β this page is from the update section of the tytanic manual, version whatever's current at 2026-04-26, iykyk π¦β¨π
π¦ where this page comes from
- nixpkgs unstable: tytanic 0.4.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms