From 13806e7618f6e300824cb4a904b77b5b1bd64a65 Mon Sep 17 00:00:00 2001 From: Egor Chemokhonenko Date: Tue, 9 Jan 2024 16:21:35 +0000 Subject: [PATCH] Specify ocaml and atdgen min version in dune-project --- dune-project | 6 ++---- jsonschema2atd.opam | 3 +-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/dune-project b/dune-project index 8a3bd4e..585a758 100644 --- a/dune-project +++ b/dune-project @@ -11,11 +11,9 @@ (synopsis "Generate ATD types out of JSON Schema and OpenAPI document") (description "Generate ATD types out of JSON Schema and OpenAPI document") (depends - (ocaml (>= 4.08)) - atdgen - atdgen-runtime + (ocaml (>= 4.10)) + (atdgen (>= 2.7)) (cmdliner (>= 1.1.0)) - (dune :build) dune-build-info (ocaml-lsp-server :with-dev-setup) (ocamlformat (and :with-dev-setup (= 0.24.1))) diff --git a/jsonschema2atd.opam b/jsonschema2atd.opam index 8f0772b..9206ead 100644 --- a/jsonschema2atd.opam +++ b/jsonschema2atd.opam @@ -8,11 +8,10 @@ authors: ["Ahrefs"] homepage: "https://github.com/ahrefs/jsonschema2atd" bug-reports: "https://github.com/ahrefs/jsonschema2atd/issues" depends: [ + "dune" {>= "3.0"} "ocaml" {>= "4.10"} "atdgen" {>= "2.7"} - "atdgen-runtime" "cmdliner" {>= "1.1.0"} - "dune" {>= "3.0" & build} "dune-build-info" "ocaml-lsp-server" {with-dev-setup} "ocamlformat" {with-dev-setup & = "0.24.1"}