summaryrefslogtreecommitdiff
path: root/test/dune
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-08-20 19:05:13 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-08-20 19:05:13 +0200
commit7dbd16cdf5880c0006dffacd09214ee607050b64 (patch)
tree01e1ee37a2be97a0b06fad70de975d8007beb702 /test/dune
parent1aeca948c2a2a82bffaaec65077140aa05f7b3f4 (diff)
parent1da70dc7ac03fe33fb92b172a0e26932764170d6 (diff)
downloadcolitur-7dbd16cdf5880c0006dffacd09214ee607050b64.tar.gz
colitur-7dbd16cdf5880c0006dffacd09214ee607050b64.zip
Merge branch 'citations-and-sigla'
Citations are parsed into structure and re-rendered, so book names, abbreviations, punctuation style and numbering tradition become files a user edits rather than strings frozen in the data. New lib/citation (Book, Parse, Render, Sigla); [bible] and [sigla] sections in language files; lang/traditions.ini for numbering; three config keys and CLI flags. --raw emits every citation byte-for-byte as stored, bypassing the whole pipeline, so output stays diffable against lectio and the raw view does not depend on the parser being correct.
Diffstat (limited to 'test/dune')
-rw-r--r--test/dune8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/dune b/test/dune
index 84c5ec7..d883d2f 100644
--- a/test/dune
+++ b/test/dune
@@ -1,11 +1,12 @@
(test
(name test_colitur)
- (libraries colitur_kernel colitur_naming colitur_render rite_ef alcotest qcheck qcheck-alcotest sexplib)
+ (libraries colitur_kernel colitur_naming colitur_render colitur_citation rite_ef alcotest qcheck qcheck-alcotest sexplib)
(deps
../data/ef/sanctoral.sexp
../data/ef/adjustments.sexp
../lang/la.ini
../lang/en.ini
+ ../lang/traditions.ini
../data/ef/expected-divergences.sexp
../data/ef/expected-divergences-missalemeum.sexp
../data/ef/lectionary.sexp
@@ -55,4 +56,7 @@
; 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))
+ ../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))