Skip to content

Commit

Permalink
Fix dune 2.5 warning relative to menhir 2.1 (#1353)
Browse files Browse the repository at this point in the history
`(using menhir 2.1)` implies `dune >= 2.2.0` (see #1330).
Starting with dune 2.5.0, this triggers a warning.
Using `(lang dune 2.2)` in the main project ensures consistent metadata.
  • Loading branch information
emillon authored Apr 24, 2020
1 parent 42ac795 commit 0e46fb2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dune
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
%{targets}
(run ocamlformat --help=plain))))

(alias
(name runtest)
(rule
(alias runtest)
(action
(diff ocamlformat-help.txt ocamlformat-help.actual)))

Expand Down
3 changes: 1 addition & 2 deletions dune-project
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(lang dune 1.11)
(lang dune 2.2)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; ;
Expand All @@ -12,5 +12,4 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(name ocamlformat)
(using fmt 1.2)
(using menhir 2.1)

0 comments on commit 0e46fb2

Please sign in to comment.