-
Notifications
You must be signed in to change notification settings - Fork 2
/
ocaml_webapp.opam
48 lines (48 loc) · 1.35 KB
/
ocaml_webapp.opam
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
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
version: "0.1.0"
synopsis: "A minimal example of a lightweight webapp in OCaml"
description: "A minimal webapp using Opium, Catqi, and tyXML"
maintainer: ["[email protected]"]
authors: ["Javier Chávarri"]
license: "MIT"
homepage: "https://github.com/jchavarri/ocaml_webapp"
doc: "https://github.com/jchavarri/ocaml_webapp"
bug-reports: "https://github.com/jchavarri/ocaml_webapp/issues"
depends: [
"dune" {>= "2"}
"ocaml" {>= "4.10.0"}
"caqti" {>= "1.2.1"}
"caqti-lwt" {>= "1.2.0"}
"caqti-driver-postgresql" {>= "1.2.1"}
"ppx_rapper" {>= "0.9.2" & < "2.0"}
"opium" {>= "0.17.1"}
"routes" {>= "0.8.0" & < "0.9.0"}
"reason" {>= "3.6.0"}
"uri" {>= "3.1.0" & < "4.0.0"}
"atdgen" {>= "2.2.1" & < "2.3.0"}
"tyxml" {dev}
"tyxml-jsx" {dev}
"tyxml-syntax" {dev}
"ocamlformat" {dev}
]
build: [
["dune" "subst"] {pinned}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/jchavarri/ocaml_webapp.git"
pin-depends: [
[ "tyxml.dev" "git+https://github.com/jchavarri/tyxml.git#reason-react" ]
[ "tyxml-jsx.dev" "git+https://github.com/jchavarri/tyxml.git#reason-react" ]
[ "tyxml-syntax.dev" "git+https://github.com/jchavarri/tyxml.git#reason-react" ]
]