Skip to content

Commit

Permalink
Merge pull request #486 from emillon/dune-3.14
Browse files Browse the repository at this point in the history
Update tests for dune 3.14
  • Loading branch information
Leonidas-from-XIV authored Feb 15, 2024
2 parents 5202755 + fd0e11c commit 2711075
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ with [Dune](https://github.com/ocaml/dune) and hosted on
;; two dependencies on dune to work around
;; https://github.com/ocaml/dune/issues/3431
dune
;; the tests require dune 3.8
(dune (and (>= 3.8) :with-test))
;; the tests require dune 3.14
(dune (and (>= 3.14) :with-test))
(curly (>= 0.3.0))
(fmt (>= 0.8.7))
(fpath (>= 0.7.3))
Expand Down
2 changes: 1 addition & 1 deletion dune-release.opam
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ bug-reports: "https://github.com/tarides/dune-release/issues"
depends: [
"ocaml" {>= "4.08.0"}
"dune" {>= "2.7"}
"dune" {>= "3.8" & with-test}
"dune" {>= "3.14" & with-test}
"curly" {>= "0.3.0"}
"fmt" {>= "0.8.7"}
"fpath" {>= "0.7.3"}
Expand Down
1 change: 1 addition & 0 deletions tests/bin/distrib-name/run.t
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ Run dune-release distrib with the uncommitted name in dune-project.
dune-release: [WARNING] The repo is dirty. Uncommitted changes to files
(including dune-project) will not be included in the
distribution archive.
File "dune-project", line 1, characters 0-0:
Error: The project name is not defined, please add a (name <name>) field to
your dune-project file.
dune-release: [ERROR] run ['dune' 'subst']: exited with 1
Expand Down

0 comments on commit 2711075

Please sign in to comment.