aboutsummaryrefslogtreecommitdiff
path: root/bin/dune
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-08-20 16:01:39 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-08-20 16:01:39 +0200
commit9dfa264f2941f1ca38eff08b6157a94d332cffbd (patch)
tree3c88ace24b4f45f0098f9ef7cf8911582d271bd6 /bin/dune
parentc02e77b73aad34fb5a672a5234a66d64f23b45ce (diff)
downloadcolitur-9dfa264f2941f1ca38eff08b6157a94d332cffbd.tar.gz
colitur-9dfa264f2941f1ca38eff08b6157a94d332cffbd.zip
feat(lang): traditions.ini, and its install rule
Which book a reference denotes does not vary by language, so it lives in its own file rather than in la.ini beside [weekday]. Six mappings, not four: Osee/Jonas are the same question as 3 Kings in transliteration form. The install rule is added in the same commit deliberately -- lang/ once shipped without one, so the feature worked from the source tree and was broken once installed. bin/dune gains colitur_citation as a linked library, needed for the new loader; lang_list's directory scan now excludes traditions.ini, which is not a language file and does not parse as one.
Diffstat (limited to 'bin/dune')
-rw-r--r--bin/dune7
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/dune b/bin/dune
index 28c04d7..0702a84 100644
--- a/bin/dune
+++ b/bin/dune
@@ -6,4 +6,9 @@
; colitur.opam's frozen depends, only a new library this executable links
; against. Used by Task 12's [mkdir_p] (colitur publish, recursive
; directory creation) and nowhere else.
- (libraries colitur_kernel rite_ef colitur_render colitur_naming unix))
+ ;
+ ; [colitur_citation] backs [load_tradition]'s own reading of
+ ; lang/traditions.ini (which book a reference DENOTES, {!Colitur_citation.Book}) --
+ ; a sibling library to [colitur_naming] (what a book is CALLED), not a
+ ; replacement for it.
+ (libraries colitur_kernel rite_ef colitur_render colitur_naming colitur_citation unix))