this repo has no description
1opam-version: "2.0"
2synopsis: "Auto-formatter for OCaml code"
3description: """
4**ocamlformat** is a code formatter for OCaml. It comes with opinionated default settings but is also fully customizable to suit your coding style.
5
6- **Profiles:** ocamlformat offers profiles we predefined formatting configurations. Profiles include `default`, `ocamlformat`, `janestreet`.
7- **Configurable:** Users can change the formatting profile and configure every option in their `.ocamlformat` configuration file.
8- **Format Comments:** ocamlformat can format comments, docstrings, and even code blocks in your comments.
9- **RPC:** ocamlformat provides an RPC server that can be used by other tools to easily format OCaml Code."""
10maintainer: [
11 "Guillaume Petiot <guillaume@tarides.com>"
12 "Jules Aguillon <jules@j3s.fr>"
13 "Emile Trotignon <emile@tarides.com>"
14]
15authors: [
16 "Josh Berdine <jjb@fb.com>"
17 "Hugo Heuzard <hugo.heuzard@gmail.com>"
18 "Etienne Millon <etienne@tarides.com>"
19 "Guillaume Petiot <guillaume@tarides.com>"
20 "Jules Aguillon <jules@j3s.fr>"
21]
22homepage: "https://github.com/ocaml-ppx/ocamlformat"
23bug-reports: "https://github.com/ocaml-ppx/ocamlformat/issues"
24depends: [
25 "ocaml" {>= "4.08" & < "5.2"}
26 "cmdliner" {with-test = "false" & >= "1.1.0" | with-test & >= "1.2.0"}
27 "dune" {>= "2.8"}
28 "ocamlformat-lib" {= version}
29 "ocamlformat-rpc-lib" {with-test & = version}
30 "re" {>= "1.10.3"}
31 "odoc" {with-doc}
32]
33build: [
34 ["dune" "subst"] {dev}
35 [
36 "dune"
37 "build"
38 "-p"
39 name
40 "-j"
41 jobs
42 "@install"
43 "@runtest" {with-test}
44 "@doc" {with-doc}
45 ]
46]
47dev-repo: "git+https://github.com/ocaml-ppx/ocamlformat.git"
48# OCamlFormat is distributed under the MIT license. Parts of the OCaml library are vendored for OCamlFormat and distributed under their original LGPL 2.1 license
49license: ["MIT" "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"]
50url {
51 src:
52 "https://github.com/ocaml-ppx/ocamlformat/releases/download/0.26.1/ocamlformat-0.26.1.tbz"
53 checksum: [
54 "sha256=da006e427f15b9ec612fb808d446599bd9b7c3ee25abeb3d555747a70d74c6d7"
55 "sha512=b7413f8dc47ba3a2372e89d59cae54f9a602ab81e31cd14ed986a831111080b79a5a3cc45dac04d8ffae5054c35bf29fe9559f145c76c87a30e191ed5400942a"
56 ]
57}
58x-commit-hash: "6734dfc1992eb782f0a936ce3cd7c78b7c1d39d3"