summaryrefslogtreecommitdiff
path: root/data/dune
blob: 9cb9c2208dfd5e4f96ecf0f23f7063de4abf731f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
; The four RUNTIME data files, installed into <prefix>/share/colitur/ef/ so a
; `dune install`ed / opam-installed `colitur` can find them (bin/main.ml's own
; [data_dir], which probes the installed layout before the build-tree one).
;
; Deliberately NOT the two allow-lists (expected-divergences.sexp,
; expected-divergences-missalemeum.sexp): those are test fixtures describing
; where colitur and a comparison oracle disagree, read only by
; test_differential.ml / test_oracle.ml, and are meaningless to a running
; `colitur`. Installing them would ship an assertion about lectio's and
; missalemeum's behaviour as though it were calendar data.
;
; If a new runtime data file is ever added, it must be added HERE too -- there
; is no glob, on purpose: a glob would silently start shipping the allow-lists
; the moment someone renamed one, and an omission here fails loudly at startup
; (exit 2, naming the missing file) rather than silently degrading.
(install
 (section share)
 (package colitur)
 (files
  (ef/sanctoral.sexp as ef/sanctoral.sexp)
  (ef/adjustments.sexp as ef/adjustments.sexp)
  (ef/lectionary.sexp as ef/lectionary.sexp)
  (ef/commons.sexp as ef/commons.sexp)
  ; Shipped as runnable documentation, NOT as calendar data: every
  ; celebration in it is invented, with example- slugs. It is what
  ; `colitur --overlay` points at in the man page, so it must actually be
  ; installed rather than only living in the source tree.
  (ef/examples/diocesan-example.sexp as examples/diocesan-example.sexp)
  ; Two REAL local calendars, in the flat INI form, each carrying its source
  ; and its limits in its own header. Shipped as examples, not as data: they
  ; are transcriptions from published ordines, and none of the five test
  ; layers can vouch for them -- which is exactly what their headers say.
  ; The Benedictine one is deliberately two entries long, and the comment
  ; block explaining why is the point of shipping it.
  (ef/examples/poland.ini as examples/poland.ini)
  (ef/examples/benedictine.ini as examples/benedictine.ini)
  ; The OF runtime data files, installed into <prefix>/share/colitur/of/ --
  ; same reasoning as the ef/ set above. Deliberately NOT
  ; of/expected-divergences-litcal.sexp: that is a test fixture, read only by
  ; test_oracle_of.ml, same as the EF allow-lists above.
  (of/calendar-2002.sexp as of/calendar-2002.sexp)
  (of/lectionary.sexp as of/lectionary.sexp)
  (of/amendments/001-padre-pio.sexp as of/amendments/001-padre-pio.sexp)
  (of/amendments/002-juan-diego-cuauhtlatoatzin.sexp as of/amendments/002-juan-diego-cuauhtlatoatzin.sexp)
  (of/amendments/003-our-lady-of-guadalupe.sexp as of/amendments/003-our-lady-of-guadalupe.sexp)
  (of/amendments/004-john-xxiii-john-paul-ii.sexp as of/amendments/004-john-xxiii-john-paul-ii.sexp)
  (of/amendments/005-mary-magdalene-rank.sexp as of/amendments/005-mary-magdalene-rank.sexp)
  (of/amendments/006-mary-mother-of-the-church.sexp as of/amendments/006-mary-mother-of-the-church.sexp)
  (of/amendments/007-paul-vi.sexp as of/amendments/007-paul-vi.sexp)
  (of/amendments/008-our-lady-of-loreto.sexp as of/amendments/008-our-lady-of-loreto.sexp)
  (of/amendments/009-faustina-kowalska.sexp as of/amendments/009-faustina-kowalska.sexp)
  (of/amendments/010-narek-avila-hildegard.sexp as of/amendments/010-narek-avila-hildegard.sexp)
  (of/amendments/011-martha-mary-lazarus.sexp as of/amendments/011-martha-mary-lazarus.sexp)
  (of/amendments/012-teresa-of-calcutta.sexp as of/amendments/012-teresa-of-calcutta.sexp)
  (of/amendments/013-john-henry-newman.sexp as of/amendments/013-john-henry-newman.sexp)))