blob: b3c7dfe154eab292d2709dac3664d2245758bd7e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
; The published contracts, installed into <prefix>/share/colitur/schema/ so
; an installed `colitur` can find schema/day-v1.json from an arbitrary
; working directory, not only a build-tree checkout -- bin/main.ml's own
; [schema_path] (`colitur publish`) probes exactly this location as its
; INSTALLED candidate, mirroring data/dune's own ef/ layout. Task 13.
;
; colitur-v1.xsd ships alongside it as the XML sibling contract (`colitur
; emit --format xml`); nothing in colitur itself reads it at runtime -- only
; `make check-schema`, via xmllint, and a template author who wants to
; validate their own rendered XML by hand.
(install
(section share)
(package colitur)
(files
(day-v1.json as schema/day-v1.json)
(colitur-v1.xsd as schema/colitur-v1.xsd)))
|