-
Notifications
You must be signed in to change notification settings - Fork 2
/
dune-project
44 lines (37 loc) · 1.08 KB
/
dune-project
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
(lang dune 2.0)
(generate_opam_files true)
(name ocaml_webapp)
(version 0.1.0)
(authors "Javier Chávarri")
(license MIT)
(source (uri "git+https://github.com/jchavarri/ocaml_webapp.git"))
(maintainers "[email protected]")
(homepage "https://github.com/jchavarri/ocaml_webapp")
(bug_reports "https://github.com/jchavarri/ocaml_webapp/issues")
(documentation "https://github.com/jchavarri/ocaml_webapp")
(package
(name ocaml_webapp)
(synopsis "A minimal example of a lightweight webapp in OCaml")
(description "A minimal webapp using Opium, Catqi, and tyXML")
(depends
;; General system dependencies
(dune (>= 2))
(ocaml (>= 4.10.0))
;; Database interface
(caqti (>= 1.2.1))
(caqti-lwt (>= 1.2.0))
(caqti-driver-postgresql (>= 1.2.1))
(ppx_rapper (and (>= 0.9.2) (< 2.0)))
;; Web toolkit
(opium (>= 0.17.1))
(routes (and (>= 0.8.0) (< 0.9.0)))
(reason (>= 3.6.0))
(uri (and (>= 3.1.0) (< 4.0.0)))
(atdgen (and (>= 2.2.1) (< 2.3.0)))
;; HTML generation
(tyxml :dev)
(tyxml-jsx :dev)
(tyxml-syntax :dev)
;; Dev dependencies
(ocamlformat :dev)
))