-
Notifications
You must be signed in to change notification settings - Fork 173
/
dune-project
148 lines (136 loc) · 3.65 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
(lang dune 2.8)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; ;
; OCamlFormat ;
; ;
; Copyright (c) Facebook, Inc. and its affiliates. ;
; ;
; This source code is licensed under the MIT license found in ;
; the LICENSE file in the root directory of this source tree. ;
; ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(name ocamlformat)
(using menhir 2.1)
(cram enable)
(generate_opam_files true)
(authors
"Josh Berdine <[email protected]>"
"Hugo Heuzard <[email protected]>"
"Etienne Millon <[email protected]>"
"Guillaume Petiot <[email protected]>"
"Jules Aguillon <[email protected]>")
(maintainers
"Guillaume Petiot <[email protected]>"
"Jules Aguillon <[email protected]>"
"Emile Trotignon <[email protected]>")
(source
(github ocaml-ppx/ocamlformat))
(package
(name ocamlformat-lib)
(synopsis "OCaml Code Formatter")
(description
"OCamlFormat is a tool to automatically format OCaml code in a uniform style.")
(depends
(ocaml
(>= 4.08))
(alcotest
(and
:with-test
(>= 1.3.0)))
(base
(>= v0.12.0))
(cmdliner
(>= 1.1.0))
dune
dune-build-info
either
fix
(fpath
(>= 0.7.3))
(menhir
(>= 20201216))
(menhirLib
(>= 20201216))
(menhirSdk
(>= 20201216))
(ocaml-version
(>= 3.5.0))
(ocamlformat-rpc-lib
(and
:with-test
(= :version)))
(ocp-indent
(or
(and
(= :with-test false)
(>= 1.8.0))
(and
:with-test
(>= 1.8.1))))
stdio
(uuseg
(>= 10.0.0))
(uutf
(>= 1.0.1))
(csexp
(>= 1.4.0))
; for vendored odoc-parser
astring
camlp-streams))
(package
(name ocamlformat)
(synopsis "Auto-formatter for OCaml code")
(description
"**ocamlformat** is a code formatter for OCaml. It comes with opinionated default settings but is also fully customizable to suit your coding style.\n\n- **Profiles:** ocamlformat offers profiles we predefined formatting configurations. Profiles include `default`, `ocamlformat`, `janestreet`.\n- **Configurable:** Users can change the formatting profile and configure every option in their `.ocamlformat` configuration file.\n- **Format Comments:** ocamlformat can format comments, docstrings, and even code blocks in your comments.\n- **RPC:** ocamlformat provides an RPC server that can be used by other tools to easily format OCaml Code.")
(depends
(ocaml
(>= 4.08))
(cmdliner
(or
(and
(= :with-test false)
(>= 1.1.0))
(and
:with-test
(>= 1.2.0))))
(csexp
(>= 1.4.0))
dune
(ocamlformat-lib
(= :version))
(ocamlformat-rpc-lib
(and
:with-test
(= :version)))
(re
(>= 1.10.3))))
(package
(name ocamlformat-bench)
(synopsis "Auto-formatter for OCaml code")
(description
"OCamlFormat is a tool to automatically format OCaml code in a uniform style.")
(depends
(ocaml
(>= 4.08))
(alcotest
(and
:with-test
(>= 1.3.0)))
(bechamel
(>= 0.2.0))
(ocamlformat-lib
(= :version))
stdio
(yojson
(>= 1.6.0))))
(package
(name ocamlformat-rpc-lib)
(synopsis "Auto-formatter for OCaml code (RPC mode)")
(description
"OCamlFormat is a tool to automatically format OCaml code in a uniform style. This package defines a RPC interface to OCamlFormat")
(license MIT)
(depends
(ocaml
(>= 4.08))
(csexp
(>= 1.4.0))))