-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdev.opam
60 lines (43 loc) · 1.32 KB
/
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
53
54
55
56
57
58
59
(*
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.1
---
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 caqti-study # change to the named switch configuration
---
To install the dependencies listed in this file, run:
- opam pin add git+https://github.com/roddyyaga/ppx_rapper#2222edbbe68db7ba1ab0c7a2688c227ea5c0f230
- this temporary measure "pins" multiple packages
- opam install . --deps-only
*)
opam-version: "2.0"
depends: [
"caqti" { = "2.1.1" }
"caqti-driver-postgresql"
"lwt"
"caqti-lwt"
"async"
"caqti-async"
"caqti-eio"
"eio_main"
"ppx_rapper"
"ppx_rapper_lwt"
# Below is for testing only
"base" {with-test}
"ppx_assert" {with-test}
"ppx_inline_test" {with-test}
"sexplib" {with-test}
"ppx_sexp_conv" {with-test}
"utop" {with-test}
# Below is for documentation purposes
"mdx"
]