Skip to content

Commit

Permalink
Set Dune rules and Opam dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Julow committed Dec 11, 2024
1 parent 8087cf6 commit e4d74a6
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 49 deletions.
2 changes: 2 additions & 0 deletions dune
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@
(progn
(bash "diff doc/driver.mld doc/driver.mld.corrected >&2 || true")
(cat doc/driver-benchmarks.json))))

(vendored_dirs vendor)
4 changes: 4 additions & 0 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,7 @@
(cram enable)

(using mdx 0.3)

; Sherlodoc
(using menhir 2.1)
(using directory-targets 0.1)
14 changes: 13 additions & 1 deletion odoc-parser.opam
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,22 @@ depends: [
"dune" {>= "3.7"}
"ocaml" {>= "4.02.0" & < "5.4"}
"astring"
"result"
"result" {>= "1.5"}
"camlp-streams"
"ppx_expect" {with-test}
("ocaml" {< "4.04.1" & with-test} | "sexplib0" {with-test})
# Dependencies for sherlodoc:
"base64" {>= "3.5.1"}
"bigstringaf" {>= "0.9.1"}
"js_of_ocaml" {>= "5.6.0"}
"brr" {>= "0.0.6"}
"cmdliner" {>= "1.2.0"}
"decompress" {>= "1.5.3"}
"fpath" {>= "0.7.3"}
"lwt" {>= "5.7.0"}
"menhir" {>= "20230608"}
"ppx_blob" {>= "0.7.2"}
"tyxml" {>= "4.6.0"}
]
build: [
["dune" "subst"] {dev}
Expand Down
3 changes: 2 additions & 1 deletion src/driver/dune
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
(package odoc-driver)
(link_deps
(package odoc)
(package odoc-md))
(package odoc-md)
%{bin:sherlodoc})
(preprocess
(pps ppx_sexp_conv))
(libraries
Expand Down
2 changes: 1 addition & 1 deletion vendor/sherlodoc/cli/dune
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
(executable
(name main)
(public_name sherlodoc)
(package sherlodoc)
(package odoc-driver)
(libraries
cmdliner
index
Expand Down
46 changes: 0 additions & 46 deletions vendor/sherlodoc/dune-project

This file was deleted.

0 comments on commit e4d74a6

Please sign in to comment.