Skip to content

Commit

Permalink
Bump to ocaml 4.08 and cmdliner 1.2.0
Browse files Browse the repository at this point in the history
Cmdliner 1.2.0 provides Windows and help fixes.
It requires at least OCaml 4.08.
  • Loading branch information
MisterDA committed Jun 5, 2023
1 parent 176de6a commit 25b79f0
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion alcotest-async.opam
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ depends: [
"dune" {>= "3.0"}
"re" {with-test}
"fmt" {with-test}
"cmdliner" {with-test & >= "1.1.1"}
"cmdliner" {with-test & >= "1.2.0"}
"core" {>= "v0.15.0"}
"core_unix" {>= "v0.15.0"}
"base"
Expand Down
2 changes: 1 addition & 1 deletion alcotest-help.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ COMMON OPTIONS
whenever the TERM env var is dumb or undefined.

EXIT STATUS
test.exe exits with the following status:
test.exe exits with:

0 on success.

Expand Down
2 changes: 1 addition & 1 deletion alcotest-js.opam
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ depends: [
"alcotest" {= version}
"js_of_ocaml-compiler" {>= "3.11.0"}
"fmt" {with-test & >= "0.8.7"}
"cmdliner" {with-test & >= "1.1.1"}
"cmdliner" {with-test & >= "1.2.0"}
"odoc" {with-doc}
]
dev-repo: "git+https://github.com/mirage/alcotest.git"
Expand Down
4 changes: 2 additions & 2 deletions alcotest-lwt.opam
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ bug-reports: "https://github.com/mirage/alcotest/issues"
depends: [
"dune" {>= "3.0"}
"re" {with-test}
"cmdliner" {with-test & >= "1.1.1"}
"cmdliner" {with-test & >= "1.2.0"}
"fmt"
"ocaml" {>= "4.05.0"}
"ocaml" {>= "4.08.0"}
"alcotest" {= version}
"lwt"
"logs"
Expand Down
4 changes: 2 additions & 2 deletions alcotest-mirage.opam
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ bug-reports: "https://github.com/mirage/alcotest/issues"
depends: [
"dune" {>= "3.0"}
"re" {with-test}
"cmdliner" {with-test & >= "1.1.1"}
"cmdliner" {with-test & >= "1.2.0"}
"fmt"
"ocaml" {>= "4.05.0"}
"ocaml" {>= "4.08.0"}
"alcotest" {= version}
"mirage-clock" {>= "2.0.0"}
"duration"
Expand Down
4 changes: 2 additions & 2 deletions alcotest.opam
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ doc: "https://mirage.github.io/alcotest"
bug-reports: "https://github.com/mirage/alcotest/issues"
depends: [
"dune" {>= "3.0"}
"ocaml" {>= "4.05.0"}
"ocaml" {>= "4.08"}
"fmt" {>= "0.8.7"}
"astring"
"cmdliner" {>= "1.1.1"}
"cmdliner" {>= "1.2.0"}
"re" {>= "1.7.2"}
"stdlib-shims"
"uutf" {>= "1.0.1"}
Expand Down
16 changes: 8 additions & 8 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ inspect), with a simple (yet expressive) query language to select the
tests to run.
")
(depends
(ocaml (>= 4.05.0))
(ocaml (>= 4.08))
(fmt (>= 0.8.7))
astring
(cmdliner (>= 1.1.1))
(cmdliner (>= 1.2.0))
(re (>= 1.7.2))
stdlib-shims
(uutf (>= 1.0.1))
Expand All @@ -44,7 +44,7 @@ tests to run.
(depends
(re :with-test)
(fmt :with-test)
(cmdliner (and :with-test (>= 1.1.1)))
(cmdliner (and :with-test (>= 1.2.0)))
(core (>= v0.15.0))
(core_unix (>= v0.15.0))
base
Expand All @@ -61,9 +61,9 @@ tests to run.
(documentation "https://mirage.github.io/alcotest")
(depends
(re :with-test)
(cmdliner (and :with-test (>= 1.1.1)))
(cmdliner (and :with-test (>= 1.2.0)))
fmt
(ocaml (>= 4.05.0))
(ocaml (>= 4.08.0))
(alcotest (= :version))
lwt
logs))
Expand All @@ -75,9 +75,9 @@ tests to run.
(documentation "https://mirage.github.io/alcotest")
(depends
(re :with-test)
(cmdliner (and :with-test (>= 1.1.1)))
(cmdliner (and :with-test (>= 1.2.0)))
fmt
(ocaml (>= 4.05.0))
(ocaml (>= 4.08.0))
(alcotest (= :version))
(mirage-clock (>= 2.0.0))
duration
Expand All @@ -94,4 +94,4 @@ tests to run.
(alcotest (= :version))
(js_of_ocaml-compiler (>= 3.11.0))
(fmt (and :with-test (>= 0.8.7)))
(cmdliner (and :with-test (>= 1.1.1)))))
(cmdliner (and :with-test (>= 1.2.0)))))

0 comments on commit 25b79f0

Please sign in to comment.