forked from ocaml/dune
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dune-project
212 lines (185 loc) · 5.86 KB
/
dune-project
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
(lang dune 3.5)
; ^^^
; When changing the version, don't forget to regenerate *.opam files
; by running [dune build].
(name dune)
(generate_opam_files true)
(accept_alternative_dune_file_name)
(strict_package_deps false)
; Reserved for Dune itself. This is to help with the bootstrap
(using dune-bootstrap-info 0.1)
(license MIT)
(maintainers "Jane Street Group, LLC <opensource@janestreet.com>")
(authors "Jane Street Group, LLC <opensource@janestreet.com>")
(source (github ocaml/dune))
(documentation "https://dune.readthedocs.io/")
(implicit_transitive_deps false)
(package
(name dune)
(synopsis "Fast, portable, and opinionated build system")
; The "depends" and "build" field are written in dune.opam.template
(conflicts
(merlin (< 3.4.0))
(ocaml-lsp-server (< 1.3.0))
(dune-configurator (< 2.3.0))
(odoc (< 2.0.1))
(dune-release (< 1.3.0))
(js_of_ocaml-compiler (< 3.6.0))
(jbuilder (= transition)))
(description "
Dune is a build system that was designed to simplify the release of
Jane Street packages. It reads metadata from \"dune\" files following a
very simple s-expression syntax.
Dune is fast, has very low-overhead, and supports parallel builds on
all platforms. It has no system dependencies; all you need to build
dune or packages using dune is OCaml. You don't need make or bash
as long as the packages themselves don't use bash explicitly.
Dune is composable; supporting multi-package development by simply
dropping multiple repositories into the same directory.
Dune also supports multi-context builds, such as building against
several opam roots/switches simultaneously. This helps maintaining
packages across several versions of OCaml and gives cross-compilation
for free.
"))
(package
(name dune-build-info)
(synopsis "Embed build information inside executable")
(depends
(ocaml (>= 4.08)))
(description "\
The build-info library allows to access information about how the
executable was built, such as the version of the project at which it
was built or the list of statically linked libraries with their
versions. It supports reporting the version from the version control
system during development to get an precise reference of when the
executable was built.
"))
(package
(name dune-private-libs)
(synopsis "Private libraries of Dune")
(depends
(csexp (>= 1.5.0))
(pp (>= 1.1.0))
(dyn (= :version))
(stdune (= :version))
(ocaml (>= 4.08)))
(description "\
!!!!!!!!!!!!!!!!!!!!!!
!!!!! DO NOT USE !!!!!
!!!!!!!!!!!!!!!!!!!!!!
This package contains code that is shared between various dune-xxx
packages. However, it is not meant for public consumption and provides
no stability guarantee.
"))
(package
(name dune-configurator)
(synopsis "Helper library for gathering system configuration")
(depends
(ocaml (>= 4.04.0))
base-unix
(csexp (>= 1.5.0)))
(description "\
dune-configurator is a small library that helps writing OCaml scripts that
test features available on the system, in order to generate config.h
files for instance.
Among other things, dune-configurator allows one to:
- test if a C program compiles
- query pkg-config
- import #define from OCaml header files
- generate config.h file
"))
(package
(name dune-action-plugin)
(synopsis "[experimental] API for writing dynamic Dune actions")
(depends
(dune-glob (= :version))
(csexp (>= 1.5.0))
(ppx_expect :with-test)
(stdune (= :version))
(dune-private-libs (= :version))
(dune-rpc (= :version))
base-unix)
(description "\
This library is experimental. No backwards compatibility is implied.
dune-action-plugin provides an API for writing dynamic Dune actions.
Dynamic dune actions do not need to declare their dependencies
upfront; they are instead discovered automatically during the
execution of the action.
"))
(package
(name dune-glob)
(synopsis "Glob string matching language supported by dune")
(depends
(stdune (= :version))
dyn
ordering
(dune-private-libs (= :version)))
(description "\
dune-glob provides a parser and interpreter for globs as \
understood by dune language."))
(package
(name dune-site)
(synopsis "Embed locations information inside executable and libraries")
(depends (dune-private-libs (= :version)))
(description ""))
(package
(name dune-rpc)
(synopsis "Communicate with dune using rpc")
(depends csexp ordering dyn xdg (stdune (= :version)) (pp (>= 1.1.0)))
(description "Library to connect and control a running dune instance"))
(package
(name dune-rpc-lwt)
(synopsis "Communicate with dune using rpc and Lwt")
(depends
(dune-rpc (= :version))
(result (>= 1.5))
(csexp (>= 1.5.0))
(lwt (>= 5.3.0))
base-unix)
(description "Specialization of dune-rpc to Lwt"))
(package
(name dyn)
(synopsis "Dynamic type")
(depends
(ocaml (>= 4.08.0))
(ordering (= :version))
(pp (>= 1.1.0)))
(description "Dynamic type"))
(package
(name ordering)
(synopsis "Element ordering")
(depends
(ocaml (>= 4.08.0)))
(description "Element ordering"))
(package
(name xdg)
(synopsis "XDG Base Directory Specification")
(depends
(ocaml (>= 4.08)))
(description "https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html"))
(package
(name stdune)
(synopsis "Dune's unstable standard library")
(depends
(ocaml (>= 4.08.0))
base-unix
(dyn (= :version))
(ordering (= :version))
(pp (>= 1.2.0))
(csexp (>= 1.5.0)))
(description "This library offers no backwards compatibility guarantees. Use at your own risk."))
(package
(name ocamlc-loc)
(synopsis "Parse ocaml compiler output into structured form")
(conflicts
(ocaml-lsp-server (< 1.15.0)))
(depends
(ocaml (>= 4.08.0))
(dyn (= :version)))
(description "This library offers no backwards compatibility guarantees. Use at your own risk."))
(package
(name chrome-trace)
(synopsis "Chrome trace event generation library")
(depends
(ocaml (>= 4.08.0)))
(description "This library offers no backwards compatibility guarantees. Use at your own risk."))