From 0d056288ff04ade25a37acfc73224ac07c8d7a11 Mon Sep 17 00:00:00 2001 From: Egor Chemokhonenko Date: Wed, 27 Dec 2023 11:04:03 +0000 Subject: [PATCH] Add dune-build-info dependency --- dune-project | 7 ++++--- jsonschema2atd.opam | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/dune-project b/dune-project index 8a50399..57bfd6f 100644 --- a/dune-project +++ b/dune-project @@ -12,12 +12,13 @@ (description "Generate ATD types out of JSON Schema and OpenAPI document") (depends (ocaml (>= 4.08)) - (atdgen :with-test) - (atdgen-runtime :with-test) + atdgen + atdgen-runtime (cmdliner (>= 1.1.0)) (dune :build) + dune-build-info (ocaml-lsp-server :with-dev-setup) (ocamlformat (and :with-dev-setup (>= 0.24) (< 0.25))) (odoc :with-doc) (ounit2 :with-test) - (yojson :with-test))) + yojson)) diff --git a/jsonschema2atd.opam b/jsonschema2atd.opam index b79d593..a251e4f 100644 --- a/jsonschema2atd.opam +++ b/jsonschema2atd.opam @@ -9,15 +9,16 @@ homepage: "https://github.com/ahrefs/jsonschema2atd" bug-reports: "https://github.com/ahrefs/jsonschema2atd/issues" depends: [ "ocaml" {>= "4.08"} - "atdgen" {with-test} - "atdgen-runtime" {with-test} + "atdgen" + "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" & < "0.25"} "odoc" {with-doc} "ounit2" {with-test} - "yojson" {with-test} + "yojson" ] build: [ ["dune" "subst"] {dev}