forked from paurkedal/caqti-study
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdev.opam
52 lines (36 loc) · 1014 Bytes
/
dev.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
49
50
51
52
(*
To install the dependencies listed in this file, run:
opam install . --deps-only
---
To optionally isolate these dependencies to the current folder, create a "switch" like so:
opam switch create . {OCAML_VERSION} --deps-only
Or optionally install as a global switch with a custom name:
opam switch create caqti-study 5.1.0
---
Run this to find the latest OCaml version:
opam switch list-available | grep -E 'base-compiler.+Official'
---
To find your current switch configuration, run:
opam switch
---
Other useful commands:
- opam switch # find currently installed switches
- opam switch 5.1.0 # change to the 5.10 switch configuration
*)
opam-version: "2.0"
depends: [
"caqti" { >= "2.0.1" }
"caqti-driver-postgresql"
"caqti-lwt"
"caqti-async"
"ppx_rapper"
"ppx_rapper_lwt"
# Below is for testing only
"base"
"ppx_assert"
"ppx_inline_test"
"sexplib"
"ppx_sexp_conv"
# Below is for documentation purposes
"mdx"
]