Skip to content

Commit

Permalink
Bump the minimal version of Dune to 3.0
Browse files Browse the repository at this point in the history
The generated opam files by `Dune < 3.0` isn't correct when
calling `dune subst`. See issue ocaml/dune#3647.

This commit bumps the minimal version to `3.0`.
  • Loading branch information
Halbaroth committed Mar 28, 2024
1 parent 12e7c1f commit 8e489ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dune-project
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(lang dune 2.0)
(lang dune 3.0)
(generate_opam_files true)

(name ocplib-simplex)
Expand All @@ -23,7 +23,7 @@
(license "LGPL-2.1-or-later")
(depends
(ocaml (>= 4.02.0))
(dune (>= 2.0))
(dune (>= 3.0))
(ocamlfind (>= 1.9.1))
(zarith :with-test)
(logs (>= 0.5.0))
Expand Down
4 changes: 2 additions & 2 deletions ocplib-simplex.opam
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ doc: "https://ocamlpro.github.io/ocplib-simplex"
bug-reports: "https://github.com/OCamlPro/ocplib-simplex/issues"
depends: [
"ocaml" {>= "4.02.0"}
"dune" {>= "2.0"}
"dune" {>= "3.0" & >= "3.0"}
"ocamlfind" {>= "1.9.1"}
"zarith" {with-test}
"logs" {>= "0.5.0"}
"odoc" {with-doc}
]
build: [
["dune" "subst"] {pinned}
["dune" "subst"] {dev}
[
"dune"
"build"
Expand Down

0 comments on commit 8e489ac

Please sign in to comment.