diff --git a/bin/dune b/bin/dune index b7b63a6..c2dca46 100644 --- a/bin/dune +++ b/bin/dune @@ -1,5 +1,5 @@ (executable (name main) (public_name odoc2docset) - (libraries stdio sqlite3 odoc.odoc odoc.model lambdasoup logs logs.fmt logs.cli - fmt.cli fmt.tty cmdliner shell str)) + (libraries stdio sqlite3 odoc.odoc odoc.model lambdasoup logs logs.fmt + logs.cli fmt.cli fmt.tty cmdliner shell str)) diff --git a/dune-project b/dune-project index ed92e17..32de508 100644 --- a/dune-project +++ b/dune-project @@ -20,15 +20,9 @@ "Generates Dash docsets for OCaml packages using the Odoc documentation generator.") (depends (dune - (and - :build - (>= 1.11))) + (>= 2)) (logs (>= 0.6)) - (core - (>= v0.14)) - (ppx_jane - (>= v0.12)) (sqlite3 (>= 4.4)) (lambdasoup @@ -38,9 +32,13 @@ (fmt (>= 0.8)) (shell - (>= v0.14)))) - -(using menhir 2.0) + (>= v0.14)) + (stdio + (>= v0.14)) + (odoc + (>= 2.0.2)) + (odig + (>= 0.0.7)))) (generate_opam_files true) diff --git a/odoc2docset.opam b/odoc2docset.opam index c2e8e20..dbe682b 100644 --- a/odoc2docset.opam +++ b/odoc2docset.opam @@ -10,15 +10,16 @@ homepage: "https://github.com/jfeser/odoc2docset" doc: "https://jfeser.github.io/odoc2docset/" bug-reports: "https://github.com/jfeser/odoc2docset/issues" depends: [ - "dune" {build & >= "1.11"} + "dune" {>= "2"} "logs" {>= "0.6"} - "core" {>= "v0.14"} - "ppx_jane" {>= "v0.12"} "sqlite3" {>= "4.4"} "lambdasoup" {>= "0.6"} "cmdliner" {>= "1.0"} "fmt" {>= "0.8"} "shell" {>= "v0.14"} + "stdio" {>= "v0.14"} + "odoc" {>= "2.0.2"} + "odig" {>= "0.0.7"} ] build: [ ["dune" "subst"] {pinned}