-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdune-project
82 lines (75 loc) · 1.81 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
(lang dune 3.7)
(name testo)
(using menhir 2.1)
; Generate the opam files used to install dependencies.
;
(generate_opam_files)
; Default attributes of opam packages
(license "ISC")
(source (github semgrep/testo))
(homepage "https://github.com/semgrep/testo")
(authors
"Martin Jambon"
"Gabriel Jaldon"
)
; Opam packages
(package
(name testo-diff)
(synopsis "Pure-OCaml diff implementation")
(description "\
This is a pure-OCaml implementation for computing line-by-line diffs.
The current implementation uses an algorithm similar to gestalt pattern
matching ported to OCaml by Gabriel Jaldon from Paul Butler's
Python implementation.
See https://github.com/paulgb/simplediff")
(depends
(ocaml (>= 4.08.0))
ppx_deriving
)
)
(package
(name testo-util)
(synopsis "Modules shared by testo, testo-lwt, etc")
(description "\
Testo is a test framework for OCaml.")
(depends
(ocaml (>= 4.08.0))
fpath
(re (>= 1.10.0))
ppx_deriving
testo-diff
)
)
(package
(name testo)
(synopsis "Test framework for OCaml")
(description "\
Testo is a test framework for OCaml providing new subcommands for capturing,
checking, and approving the output of tests.")
(depends
(ocaml (>= 4.08.0))
(alcotest :with-test)
(cmdliner (>= 1.1.0))
fpath
(re (>= 1.10.0))
testo-util
)
)
(package
(name testo-lwt)
(synopsis "Test framework for OCaml, Lwt variant")
(description "\
Use this if the tests return Lwt promises and you can't make them synchronous
because 'Lwt_main.run' is not supported by your platform e.g. JavaScript.")
(depends
(lwt (>= 5.6.0))
; Same direct dependencies as 'testo' above
(ocaml (>= 4.08.0))
(alcotest :with-test)
(cmdliner (>= 1.1.0))
fpath
(re (>= 1.10.0))
testo-util
)
)