Skip to content

Commit 94807e6

Browse files
committed
Keep opam-dune-lint happy
1 parent 4b4f1e0 commit 94807e6

9 files changed

+43
-3
lines changed

dune-project

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@
3030
menhir
3131
menhirLib
3232
menhirSdk
33-
(yojson (>= 2.1)))
33+
(yojson (>= 2.1))
34+
; Keep opam-dune-lint happy
35+
(stdlib_stable (and :with-test (= os "never")))
36+
(stdlib_upstream_compatible (and :with-test (= os "never"))))
3437
(depopts
3538
ocamlfind)
3639
(conflicts
@@ -50,7 +53,10 @@
5053
(lwt (and (>= 2.4.4) (<> 5.9.2)))
5154
(num :with-test)
5255
(ppx_expect (and (>= v0.14.2) :with-test))
53-
(re (and (>= 1.9.0) :with-test)))
56+
(re (and (>= 1.9.0) :with-test))
57+
; Keep opam-dune-lint happy
58+
(stdlib_stable (and :with-test (= os "never")))
59+
(stdlib_upstream_compatible (and :with-test (= os "never"))))
5460
(depopts
5561
graphics
5662
lwt_log
@@ -68,6 +74,9 @@
6874
(num :with-test)
6975
(ppx_expect (and (>= v0.14.2) :with-test))
7076
(re (and (>= 1.9.0) :with-test))
77+
; Keep opam-dune-lint happy
78+
(stdlib_stable (and :with-test (= os "never")))
79+
(stdlib_upstream_compatible (and :with-test (= os "never")))
7180
))
7281

7382
(package
@@ -82,6 +91,9 @@
8291
(num :with-test)
8392
(ppx_expect (and (>= v0.14.2) :with-test))
8493
(re (and (>= 1.9.0) :with-test))
94+
; Keep opam-dune-lint happy
95+
(stdlib_stable (and :with-test (= os "never")))
96+
(stdlib_upstream_compatible (and :with-test (= os "never")))
8597
))
8698

8799
(package
@@ -99,6 +111,9 @@
99111
(ppx_expect (and (>= v0.14.2) :with-test))
100112
(ppxlib (>= 0.33))
101113
(re (and (>= 1.9.0) :with-test))
114+
; Keep opam-dune-lint happy
115+
(stdlib_stable (and :with-test (= os "never")))
116+
(stdlib_upstream_compatible (and :with-test (= os "never")))
102117
))
103118

104119
(package
@@ -116,6 +131,9 @@
116131
(num :with-test)
117132
(ppx_expect (and (>= v0.14.2) :with-test))
118133
(re (and (>= 1.9.0) :with-test))
134+
; Keep opam-dune-lint happy
135+
(stdlib_stable (and :with-test (= os "never")))
136+
(stdlib_upstream_compatible (and :with-test (= os "never")))
119137
))
120138

121139
(package
@@ -130,6 +148,9 @@
130148
(ppx_expect (and (>= v0.14.2) :with-test))
131149
(ppxlib (>= 0.33))
132150
(re (and (>= 1.9.0) :with-test))
151+
; Keep opam-dune-lint happy
152+
(stdlib_stable (and :with-test (= os "never")))
153+
(stdlib_upstream_compatible (and :with-test (= os "never")))
133154
))
134155

135156
(package
@@ -151,7 +172,10 @@
151172
menhirLib
152173
menhirSdk
153174
(yojson (>= 2.1))
154-
binaryen-bin)
175+
binaryen-bin
176+
; Keep opam-dune-lint happy
177+
(stdlib_stable (and :with-test (= os "never")))
178+
(stdlib_upstream_compatible (and :with-test (= os "never"))))
155179
(depopts
156180
ocamlfind)
157181
(conflicts

js_of_ocaml-compiler.opam

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ depends: [
2626
"menhirLib"
2727
"menhirSdk"
2828
"yojson" {>= "2.1"}
29+
"stdlib_stable" {with-test & "os" = "never"}
30+
"stdlib_upstream_compatible" {with-test & "os" = "never"}
2931
"odoc" {with-doc}
3032
]
3133
depopts: ["ocamlfind"]

js_of_ocaml-lwt.opam

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ depends: [
2020
"num" {with-test}
2121
"ppx_expect" {>= "v0.14.2" & with-test}
2222
"re" {>= "1.9.0" & with-test}
23+
"stdlib_stable" {with-test & "os" = "never"}
24+
"stdlib_upstream_compatible" {with-test & "os" = "never"}
2325
"odoc" {with-doc}
2426
]
2527
depopts: ["graphics" "lwt_log"]

js_of_ocaml-ppx.opam

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ depends: [
1919
"num" {with-test}
2020
"ppx_expect" {>= "v0.14.2" & with-test}
2121
"re" {>= "1.9.0" & with-test}
22+
"stdlib_stable" {with-test & "os" = "never"}
23+
"stdlib_upstream_compatible" {with-test & "os" = "never"}
2224
"odoc" {with-doc}
2325
]
2426
dev-repo: "git+https://github.com/ocsigen/js_of_ocaml.git"

js_of_ocaml-ppx_deriving_json.opam

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ depends: [
1919
"num" {with-test}
2020
"ppx_expect" {>= "v0.14.2" & with-test}
2121
"re" {>= "1.9.0" & with-test}
22+
"stdlib_stable" {with-test & "os" = "never"}
23+
"stdlib_upstream_compatible" {with-test & "os" = "never"}
2224
"odoc" {with-doc}
2325
]
2426
dev-repo: "git+https://github.com/ocsigen/js_of_ocaml.git"

js_of_ocaml-toplevel.opam

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ depends: [
2121
"ppx_expect" {>= "v0.14.2" & with-test}
2222
"ppxlib" {>= "0.33"}
2323
"re" {>= "1.9.0" & with-test}
24+
"stdlib_stable" {with-test & "os" = "never"}
25+
"stdlib_upstream_compatible" {with-test & "os" = "never"}
2426
"odoc" {with-doc}
2527
]
2628
dev-repo: "git+https://github.com/ocsigen/js_of_ocaml.git"

js_of_ocaml-tyxml.opam

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ depends: [
2222
"num" {with-test}
2323
"ppx_expect" {>= "v0.14.2" & with-test}
2424
"re" {>= "1.9.0" & with-test}
25+
"stdlib_stable" {with-test & "os" = "never"}
26+
"stdlib_upstream_compatible" {with-test & "os" = "never"}
2527
"odoc" {with-doc}
2628
]
2729
dev-repo: "git+https://github.com/ocsigen/js_of_ocaml.git"

js_of_ocaml.opam

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ depends: [
1919
"ppx_expect" {>= "v0.14.2" & with-test}
2020
"ppxlib" {>= "0.33"}
2121
"re" {>= "1.9.0" & with-test}
22+
"stdlib_stable" {with-test & "os" = "never"}
23+
"stdlib_upstream_compatible" {with-test & "os" = "never"}
2224
"odoc" {with-doc}
2325
]
2426
dev-repo: "git+https://github.com/ocsigen/js_of_ocaml.git"

wasm_of_ocaml-compiler.opam

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ depends: [
2727
"menhirSdk"
2828
"yojson" {>= "2.1"}
2929
"binaryen-bin"
30+
"stdlib_stable" {with-test & "os" = "never"}
31+
"stdlib_upstream_compatible" {with-test & "os" = "never"}
3032
"odoc" {with-doc}
3133
]
3234
depopts: ["ocamlfind"]

0 commit comments

Comments
 (0)