Set dune language version to 1.0 (#873)
Signed-off-by: Jeremie Dimino <jeremie@dimino.org>
This commit is contained in:
parent
b83d1049fc
commit
58a47e4ff8
|
@ -1,2 +1,2 @@
|
||||||
(lang dune 0.1)
|
(lang dune 1.0)
|
||||||
(name dune)
|
(name dune)
|
||||||
|
|
|
@ -176,10 +176,10 @@ let load_dune_project ~dir packages =
|
||||||
Loc.fail loc "%s is not a supported langauge. \
|
Loc.fail loc "%s is not a supported langauge. \
|
||||||
Only the dune language is supported." s);
|
Only the dune language is supported." s);
|
||||||
(match version with
|
(match version with
|
||||||
| _, "0.1" -> ()
|
| _, "1.0" -> ()
|
||||||
| loc, s ->
|
| loc, s ->
|
||||||
Loc.fail loc "Unsupported version of the dune language. \
|
Loc.fail loc "Unsupported version of the dune language. \
|
||||||
The only supported version is 0.1." s);
|
The only supported version is 1.0." s);
|
||||||
let sexp = Sexp.Parser.parse lb ~mode:Many_as_one in
|
let sexp = Sexp.Parser.parse lb ~mode:Many_as_one in
|
||||||
parse ~dir packages sexp)
|
parse ~dir packages sexp)
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
(lang dune 0.1)
|
(lang dune 1.0)
|
Loading…
Reference in New Issue