-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdune-project
More file actions
107 lines (93 loc) · 2.3 KB
/
Copy pathdune-project
File metadata and controls
107 lines (93 loc) · 2.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
(lang dune 3.22)
(name oystermark)
; The version reported by [oyster -version] and by the LSP [serverInfo].
(version 0.1.0)
(generate_opam_files true)
(source
(github username/reponame))
(authors "Author Name <author@example.com>")
(maintainers "Maintainer Name <maintainer@example.com>")
(license LICENSE)
(documentation https://url/to/documentation)
; The mlx dialect: .mlx files are OCaml + JSX syntax, lowered to plain OCaml
; parsetree (carrying [@JSX]) by mlx-pp, then [@JSX] is lowered per-library by
; (preprocess (pps html_of_jsx.ppx)). merlin_reader points at ocamlmerlin-mlx.
; mlmdx (pkg/mlmdx) reuses this chain to render .mlx components embedded in pages.
(dialect
(name mlx)
(implementation
(extension mlx)
(merlin_reader mlx)
(preprocess
(run mlx-pp %{input-file}))))
; The mlmdx dialect: .mlmdx files are prose-first Markdown pages. mlmdx-pp emits
; a plain-OCaml parsetree (structural nodes as JSX.node calls; embedded {expr}
; parsed with the real OCaml parser). ocamlmerlin-mlmdx shares the same codegen.
(dialect
(name mlmdx)
(implementation
(extension mlmdx)
(merlin_reader mlmdx)
(preprocess
(run mlmdx-pp %{input-file}))))
(package
(name oystermark)
(synopsis "A short synopsis")
(description "A longer description")
(depends
ocaml
(dune
(>= 3.22))
oymarkit
merlin-extend
core
core_unix
tyxml
ocamlgraph
yaml
yojson
base64
ppx_jane
ppx_string
ppx_blob
ppx_quick_test
ppx_yojson_conv
trace
opentelemetry
opentelemetry-client-cohttp-eio
linol-eio
eio_main
(textutils :with-test)
(ppx_expect :with-test)
(ppx_trace :with-test)
(shexp :with-doc)
(odoc :with-doc))
(tags
("add topics" "to describe" your project)))
(package
(name oyster-odoc-reader)
(synopsis "Read odoc documentation into an OysterMark vault")
(description
"Renders the pages odoc has already compiled and linked -- .odocl files -- into OysterMark notes, one note per odoc page.")
(depends
ocaml
(dune
(>= 3.22))
odoc
fpath
lambdasoup
yojson))
(package
(name trace-collect)
(synopsis "A short synopsis")
(description "A longer description")
(depends
ocaml
(dune
(>= 3.22))
core
opentelemetry
trace
ambient-context
))
; See the complete stanza docs at https://dune.readthedocs.io/en/stable/reference/dune-project/index.html