forked from ocaml/dune
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dune-project
116 lines (100 loc) · 3.57 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
(lang dune 2.5)
; ^^^
; When changing the version, don't forget to regenerate *.opam files
; by running [dune build].
(name dune)
(generate_opam_files true)
; 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)
; The "depends" and "build" field are written in dune.opam.template
(conflicts
(dune-configurator (< 2.3.0))
(odoc (< 1.3.0))
(dune-release (< 1.3.0))
(js_of_ocaml-compiler (< 3.6.0))
(jbuilder (= transition)))
(synopsis "Fast, portable, and opinionated build system")
(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 supports multi-package development by simply dropping multiple
repositories into the same directory.
It 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 informations inside executable")
(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)
(depends
(ocaml (>= 4.10)))
(synopsis "Private libraries of Dune")
(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)
(depends
(dune (>= 2.6.0)))
(synopsis "Helper library for gathering system configuration")
(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)
(depends
dune-glob
(ppx_expect :with-test)
(dune-private-libs (= :version)))
(synopsis "[experimental] API for writing dynamic Dune actions")
(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)
(depends
(dune-private-libs (= :version)))
(synopsis "Glob string matching language supported by dune")
(description "\
dune-glob provides a parser and interpreter for globs as \
understood by dune language."))