Skip to content

Commit

Permalink
Fixed OCamlPro#225: making lastes (git) version the default one.
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Blond committed Jul 10, 2024
1 parent 61aee33 commit 05c1d08
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/drom_lib/project.ml
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,9 @@ let to_files share p =
let project_of_toml ?file ?default table =
let project_drom_version =
match EzToml.get_string_option table [ "project"; "drom-version" ] with
| None -> Globals.min_drom_version
| None ->
(* Using current version by default. *)
Version.version
| Some version ->
match VersionCompare.compare version Version.version with
| 1 ->
Expand Down

0 comments on commit 05c1d08

Please sign in to comment.