Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tests for dune 3.14 #486

Merged
merged 1 commit into from
Feb 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading