(test
 (name test_colitur)
 (libraries colitur_kernel colitur_naming colitur_render colitur_citation rite_ef rite_of alcotest qcheck qcheck-alcotest sexplib)
 (deps
  ../data/ef/sanctoral.sexp
  ../data/ef/adjustments.sexp
  ../data/of/calendar-2002.sexp
  ../data/of/amendments/001-padre-pio.sexp
  ../data/of/amendments/002-juan-diego-cuauhtlatoatzin.sexp
  ../data/of/amendments/003-our-lady-of-guadalupe.sexp
  ../data/of/amendments/004-john-xxiii-john-paul-ii.sexp
  ../data/of/amendments/005-mary-magdalene-rank.sexp
  ../data/of/amendments/006-mary-mother-of-the-church.sexp
  ../data/of/amendments/007-paul-vi.sexp
  ../data/of/amendments/008-our-lady-of-loreto.sexp
  ../data/of/amendments/009-faustina-kowalska.sexp
  ../data/of/amendments/010-narek-avila-hildegard.sexp
  ../data/of/amendments/011-martha-mary-lazarus.sexp
  ../data/of/amendments/012-teresa-of-calcutta.sexp
  ../data/of/amendments/013-john-henry-newman.sexp
  ../lang/la.ini
  ../lang/en.ini
  ../lang/traditions.ini
  ../data/ef/expected-divergences.sexp
  ../data/ef/expected-divergences-missalemeum.sexp
  ../data/ef/expected-divergences-lms.sexp
  ../data/ef/expected-divergences-fiuv.sexp
  ../data/ef/expected-divergences-efdotorg.sexp
  ../data/of/expected-divergences-litcal.sexp
  ../data/ef/lectionary.sexp
  ../data/ef/commons.sexp
  ../data/of/lectionary.sexp
  ../tools/bootstrap_lectionary_of.exe
  ../data/ef/examples/diocesan-example.sexp
  fixtures/lectio-ef-2005-2050.txt
  fixtures/missalemeum-ef-2026-2027.txt
  fixtures/missalemeum-ef-2038.txt
  fixtures/missalemeum-ef-2035.txt
  fixtures/lms-ordo-2023-2024.sexp
  fixtures/lms-ordo-2024-2025.sexp
  fixtures/lms-ordo-2025-2026.sexp
  fixtures/fiuv-ordo-2025-2026.sexp
  fixtures/efdotorg-ordo-2024-2025.sexp
  fixtures/efdotorg-ordo-2025-2026.sexp
  fixtures/efdotorg-ordo-2026-2027.sexp
  fixtures/litcal-temporal-2024-2035.sexp
  ../templates/ef/ordo.tex
  ../templates/ef/ordo.ms
  ../templates/ef/ordo.html
  ../templates/ef/ordo.adoc
  ../templates/ef/ordo.md
  ../templates/ef/ordo.txt
  ../templates/ef/grid.tex
  ../templates/ef/grid.ms
  ../templates/ef/grid.html
  ../templates/ef/ordo.typ
  ../templates/ef/grid.typ
  golden/ordo-2027.tex
  golden/ordo-2027.ms
  golden/ordo-2027.html
  golden/ordo-2027.adoc
  golden/ordo-2027.md
  golden/ordo-2027.txt
  golden/grid-2027.tex
  golden/grid-2027.ms
  golden/grid-2027.html
  golden/ordo-2027.typ
  golden/grid-2027.typ)
 (preprocess
  (pps ppx_sexp_conv)))

(cram
 (deps
  %{bin:colitur}
  fixtures/overlay-example-diocesan.sexp
  ../data/ef/examples/poland.ini
  ../data/ef/examples/benedictine.ini
  ../data/ef/sanctoral.sexp
  ../data/ef/adjustments.sexp
  ../data/ef/lectionary.sexp
  ../data/ef/commons.sexp
  ; Task 5 (2026-08-25-colitur-of-phases-3-5), `colitur day|readings --rite
  ; of`: the OF calendar's own runtime files, same "the cram sandbox only
  ; ever gets what this stanza names" trap as every entry around them.
  ../data/of/calendar-2002.sexp
  ../data/of/amendments/001-padre-pio.sexp
  ../data/of/amendments/002-juan-diego-cuauhtlatoatzin.sexp
  ../data/of/amendments/003-our-lady-of-guadalupe.sexp
  ../data/of/amendments/004-john-xxiii-john-paul-ii.sexp
  ../data/of/amendments/005-mary-magdalene-rank.sexp
  ../data/of/amendments/006-mary-mother-of-the-church.sexp
  ../data/of/amendments/007-paul-vi.sexp
  ../data/of/amendments/008-our-lady-of-loreto.sexp
  ../data/of/amendments/009-faustina-kowalska.sexp
  ../data/of/amendments/010-narek-avila-hildegard.sexp
  ../data/of/amendments/011-martha-mary-lazarus.sexp
  ../data/of/amendments/012-teresa-of-calcutta.sexp
  ../data/of/amendments/013-john-henry-newman.sexp
  ../data/of/lectionary.sexp
  ; Task 12, `colitur publish`: the cram sandbox only ever gets what this
  ; stanza names explicitly (unlike a plain `dune build`, it does not fall
  ; back to the workspace root's own default alias), so schema/day-v1.json
  ; needs its own entry here too, exactly like every other runtime file
  ; above.
  ../schema/day-v1.json
  ; Same trap, same fix: Task 8's --sigla-tradition flag makes the CLI read
  ; this file, and a cram sandbox holds only what this stanza names.
  ../lang/traditions.ini
  ; The man page is a DEP, not a runtime file the binary reads: cli.t's own
  ; rubrics anti-drift check compares the documented worked example against
  ; what `rubrics` actually prints, and that documentation now lives here
  ; rather than in --help (trimmed to one screen). The check exists because
  ; this exact field list drifted once and stayed wrong for a whole review
  ; round; moving the prose without moving the check would quietly retire it.
  ../man/colitur.1))
