[OCaml] High Intensity Training Online
build Declare ocsigenserver and ocsipersist-sqlite deps
bin/main links ocsigenserver and ocsipersist-sqlite directly, but only eliom was declared, so ocsigenserver was pulled in transitively and ocsipersist-sqlite not at all — a fresh `opam install . --deps-only` failed to link the executable. Declare both in dune-project (the opam source of truth) with lower bounds matching the resolved switch. ocsipersist-sqlite supplies the implementation of eliom's virtual ocsipersist dependency at link time; ocsigenserver is used directly by the server entrypoint. unix stays undeclared: it ships with the compiler.
Changed files
dune-project
@@ -28,6 +28,10 @@
28
28
:with-test))
29
29
(eliom
30
30
(>= 12.0))
31
Added:
(ocsigenserver
32
Added:
(>= 7.0))
33
Added:
(ocsipersist-sqlite
34
Added:
(>= 2.1))
31
35
(ocamlformat
32
36
(and
33
37
(= 0.29.0)
hito.opam
@@ -14,6 +14,8 @@
14
14
"ocaml" {>= "5.1"}
15
15
"alcotest" {>= "1.8" & with-test}
16
16
"eliom" {>= "12.0"}
17
Added:
"ocsigenserver" {>= "7.0"}
18
Added:
"ocsipersist-sqlite" {>= "2.1"}
17
19
"ocamlformat" {= "0.29.0" & with-dev-setup}
18
20
"odoc" {with-doc}
19
21
]