File tree Expand file tree Collapse file tree 1 file changed +63
-0
lines changed Expand file tree Collapse file tree 1 file changed +63
-0
lines changed Original file line number Diff line number Diff line change 1+ opam-version: "2.0"
2+ synopsis: "Executable code blocks inside markdown files"
3+ description: """
4+ `ocaml-mdx` allows to execute code blocks inside markdown files.
5+ There are (currently) two sub-commands, corresponding
6+ to two modes of operations: pre-processing (`ocaml-mdx pp`)
7+ and tests (`ocaml-mdx test`).
8+
9+ The pre-processor mode allows to mix documentation and code,
10+ and to practice "literate programming" using markdown and OCaml.
11+
12+ The test mode allows to ensure that shell scripts and OCaml fragments
13+ in the documentation always stays up-to-date."""
14+ maintainer: ["Thomas Gazagnaire <
[email protected] >"]
15+ authors: ["Thomas Gazagnaire <
[email protected] >"]
16+ license: "ISC"
17+ homepage: "https://github.com/realworldocaml/mdx"
18+ bug-reports: "https://github.com/realworldocaml/mdx/issues"
19+ depends: [
20+ "dune" {>= "3.5"}
21+ "ocaml" {>= "4.08.0"}
22+ "ocamlfind"
23+ "fmt" {>= "0.8.7"}
24+ "cppo" {build & >= "1.1.0"}
25+ "csexp" {>= "1.3.2"}
26+ "astring"
27+ "logs" {>= "0.7.0"}
28+ "cmdliner" {>= "1.1.0"}
29+ "re" {>= "1.7.2"}
30+ "ocaml-version" {>= "2.3.0"}
31+ "lwt" {with-test}
32+ "camlp-streams"
33+ "result"
34+ "alcotest" {with-test}
35+ "odoc" {with-doc}
36+ ]
37+ conflicts: [
38+ "result" {< "1.5"}
39+ ]
40+ build: [
41+ ["dune" "subst"] {dev}
42+ [
43+ "dune"
44+ "build"
45+ "-p"
46+ name
47+ "-j"
48+ jobs
49+ "@install"
50+ "@runtest" {with-test}
51+ "@doc" {with-doc}
52+ ]
53+ ]
54+ dev-repo: "git+https://github.com/realworldocaml/mdx.git"
55+ url {
56+ src:
57+ "https://github.com/realworldocaml/mdx/releases/download/2.3.1/mdx-2.3.1.tbz"
58+ checksum: [
59+ "sha256=9a40a45faa78d47e29392bd4fec260d14016cac1b078e4ab016ea3adc09743f3"
60+ "sha512=941d85765dc58266bf50f9eec0d67eabbc422b4f6b3e6392f5055ad09c40b3176692a598671986f84a0e926111131bdf347b2914836ebc467ae7b92c3b30c0dc"
61+ ]
62+ }
63+ x-commit-hash: "526248a3bd3ab26f619de784db5a782e1b896888"
You can’t perform that action at this time.
0 commit comments