Skip to content

Commit

Permalink
Adjust syntax version
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolás Ojeda Bär <[email protected]>
  • Loading branch information
nojb committed Feb 15, 2020
1 parent be8bea2 commit 8f09230
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/dune/binary_kind.ml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ let decode =
; ("exe", return Exe)
; ("object", return Object)
; ("shared_object", return Shared_object)
; ("plugin", Dune_lang.Syntax.since Stanza.syntax (2, 3) >>> return Plugin)
; ("plugin", Dune_lang.Syntax.since Stanza.syntax (2, 4) >>> return Plugin)
; ("js", Dune_lang.Syntax.since Stanza.syntax (1, 11) >>> return Js)
]

Expand Down
2 changes: 1 addition & 1 deletion src/dune/dune_file.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1573,7 +1573,7 @@ module Executables = struct
]))
and+ statically_linked_libraries =
field_o "statically_linked_libraries"
( Dune_lang.Syntax.since Stanza.syntax (2, 3)
( Dune_lang.Syntax.since Stanza.syntax (2, 4)
>>> located (repeat (located Lib_name.decode)) )
and+ forbidden_libraries =
field "forbidden_libraries"
Expand Down
2 changes: 1 addition & 1 deletion src/dune/stanza.ml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module Parser = struct
type nonrec t = string * t list Dune_lang.Decoder.t
end

let latest_version = (2, 3)
let latest_version = (2, 4)

let syntax =
Dune_lang.Syntax.create ~name:"dune" ~desc:"the dune language"
Expand Down
2 changes: 1 addition & 1 deletion test/blackbox-tests/test-cases/plugin-mode/dune-project
Original file line number Diff line number Diff line change
@@ -1 +1 @@
(lang dune 2.3)
(lang dune 2.4)

0 comments on commit 8f09230

Please sign in to comment.