File tree 4 files changed +23
-3
lines changed 4 files changed +23
-3
lines changed Original file line number Diff line number Diff line change 4
4
(:standard -w -58))))
5
5
6
6
(executables
7
+ (enabled_if
8
+ (not %{env:CI=false}))
7
9
(libraries
8
10
re
9
11
core
17
19
(names benchmark))
18
20
19
21
(executable
22
+ (enabled_if
23
+ (not %{env:CI=false}))
20
24
(name compare)
21
25
(modules compare)
22
26
(libraries
Original file line number Diff line number Diff line change 1
- (lang dune 3 .12 )
1
+ (lang dune 3 .15 )
2
2
3
3
(name re)
4
4
24
24
( ocaml ( >= 4 .12.0) )
25
25
seq
26
26
( ppx_expect :with -test)
27
- ( ounit2 :with -test) )
27
+ ( ounit2 :with -test)
28
+ (js_of_ocaml :with -test))
28
29
( description "
29
30
Pure OCaml regular expressions with:
30
31
* Perl-style regular expressions (module Re.Perl)
Original file line number Diff line number Diff line change 7
7
ppx_expect.config
8
8
ppx_expect.config_types
9
9
ppx_expect
10
+ ppx_expect_common
10
11
base
11
12
str
12
13
ppx_inline_test.config)
15
16
(preprocess
16
17
(pps ppx_expect)))
17
18
19
+ ;; ppx_expect v16 depends on ppx_expect.common
20
+ (subdir
21
+ ppx_expect_common
22
+ (library
23
+ (name ppx_expect_common)
24
+ (enabled_if
25
+ (< %{ocaml_version} 5.0))
26
+ (libraries (re_export ppx_expect.common)))
27
+ (library
28
+ (name ppx_expect_common)
29
+ (enabled_if
30
+ (>= %{ocaml_version} 5.0))))
31
+
18
32
;; this hackery is needed because ppx_expect itself uses re, therefore we need to mangle
19
33
;; the library name
20
34
Original file line number Diff line number Diff line change @@ -22,11 +22,12 @@ license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
22
22
homepage: "https://github.com/ocaml/ocaml-re"
23
23
bug-reports: "https://github.com/ocaml/ocaml-re/issues"
24
24
depends: [
25
- "dune" {>= "3.12 "}
25
+ "dune" {>= "3.15 "}
26
26
"ocaml" {>= "4.12.0"}
27
27
"seq"
28
28
"ppx_expect" {with-test}
29
29
"ounit2" {with-test}
30
+ "js_of_ocaml" {with-test}
30
31
"odoc" {with-doc}
31
32
]
32
33
build: [
You can’t perform that action at this time.
0 commit comments