aboutsummaryrefslogtreecommitdiff
path: root/dune
diff options
context:
space:
mode:
Diffstat (limited to 'dune')
-rw-r--r--dune14
1 files changed, 13 insertions, 1 deletions
diff --git a/dune b/dune
index b7cd19b..e2353df 100644
--- a/dune
+++ b/dune
@@ -23,10 +23,22 @@
; this file was originally written to close applied to it too -- a fresh
; `dune build` left it absent from _build/default/data/ef/, only ever
; materialised there as a side effect of test/dune's own deps.
+;
+; schema/day-v1.json added here for the identical reason again (Task 12,
+; `colitur publish`): unlike data/ef/, the top-level schema/ directory has
+; no dune file of its own, so nothing makes dune copy it into
+; _build/default/ by default -- confirmed empirically, a clean `dune build`
+; left _build/default/schema/ missing entirely. bin/main.ml's own
+; [schema_path] resolves it the same prefix-relative way [data_dir] resolves
+; the sanctoral data, and that resolution needs the file actually present in
+; the build tree, not only in the source tree. This is a BUILD-TIME
+; convenience only -- it says nothing about `dune install`, which is
+; Task 13's own job (see schema_path's comment in bin/main.ml).
(alias
(name default)
(deps
(alias_rec install)
data/ef/sanctoral.sexp
data/ef/adjustments.sexp
- data/ef/lectionary.sexp))
+ data/ef/lectionary.sexp
+ schema/day-v1.json))