Skip to content

Commit 6c1b386

Browse files
authored
Merge pull request #28774 from Julow/release-ocamlformat-0.28.1
[new release] ocamlformat-lib, ocamlformat and ocamlformat-rpc-lib (0.28.1)
2 parents fa8c506 + 2ee5d6c commit 6c1b386

File tree

3 files changed

+176
-0
lines changed
  • packages
    • ocamlformat-lib/ocamlformat-lib.0.28.1
    • ocamlformat-rpc-lib/ocamlformat-rpc-lib.0.28.1
    • ocamlformat/ocamlformat.0.28.1

3 files changed

+176
-0
lines changed
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
opam-version: "2.0"
2+
synopsis: "OCaml Code Formatter"
3+
description:
4+
"OCamlFormat is a tool to automatically format OCaml code in a uniform style."
5+
maintainer: [
6+
"Guillaume Petiot <guillaume@tarides.com>"
7+
"Jules Aguillon <jules@j3s.fr>"
8+
"Emile Trotignon <emile@tarides.com>"
9+
]
10+
authors: [
11+
"Josh Berdine <jjb@fb.com>"
12+
"Hugo Heuzard <hugo.heuzard@gmail.com>"
13+
"Etienne Millon <etienne@tarides.com>"
14+
"Guillaume Petiot <guillaume@tarides.com>"
15+
"Jules Aguillon <jules@j3s.fr>"
16+
]
17+
homepage: "https://github.com/ocaml-ppx/ocamlformat"
18+
bug-reports: "https://github.com/ocaml-ppx/ocamlformat/issues"
19+
depends: [
20+
"ocaml" {>= "4.08"}
21+
"alcotest" {with-test & >= "1.3.0"}
22+
"base" {>= "v0.12.0"}
23+
"cmdliner" {>= "1.1.0"}
24+
"dune" {>= "2.8"}
25+
"dune-build-info"
26+
"either"
27+
"fix"
28+
"fpath" {>= "0.7.3"}
29+
"menhir" {>= "20201216"}
30+
"menhirLib" {>= "20201216"}
31+
"menhirSdk" {>= "20201216"}
32+
"ocaml-version" {>= "3.5.0"}
33+
"ocamlformat-rpc-lib" {with-test & = version}
34+
"ocp-indent" {with-test = "false" & >= "1.8.0" | with-test & >= "1.8.1"}
35+
"stdio"
36+
"uuseg" {>= "10.0.0"}
37+
"uutf" {>= "1.0.1"}
38+
"csexp" {>= "1.4.0"}
39+
"astring"
40+
"camlp-streams"
41+
"odoc" {with-doc}
42+
]
43+
build: [
44+
["dune" "subst"] {dev}
45+
[
46+
"dune"
47+
"build"
48+
"-p"
49+
name
50+
"-j"
51+
jobs
52+
"@install"
53+
"@runtest" {with-test}
54+
"@doc" {with-doc}
55+
]
56+
]
57+
dev-repo: "git+https://github.com/ocaml-ppx/ocamlformat.git"
58+
# 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
59+
license: ["MIT" "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"]
60+
url {
61+
src:
62+
"https://github.com/ocaml-ppx/ocamlformat/releases/download/0.28.1/ocamlformat-0.28.1.tbz"
63+
checksum: [
64+
"sha256=70bda037d0bed961ed91bdb5198b2eeef542444750a8b015d80ccb94b3ff41fb"
65+
"sha512=8de0517165c6f0cadcedcce66e57cb723956768a8068abd062243abb08fabf292283d0d284be230aa5647d0883a4dc7f28fcf1b70338a2b0c9b17a5bed1bbb71"
66+
]
67+
}
68+
x-commit-hash: "809492a6044557239ed1e1c2f78eec602f068ea4"
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
opam-version: "2.0"
2+
synopsis: "Auto-formatter for OCaml code (RPC mode)"
3+
description:
4+
"OCamlFormat is a tool to automatically format OCaml code in a uniform style. This package defines a RPC interface to OCamlFormat"
5+
maintainer: [
6+
"Guillaume Petiot <guillaume@tarides.com>"
7+
"Jules Aguillon <jules@j3s.fr>"
8+
"Emile Trotignon <emile@tarides.com>"
9+
]
10+
authors: [
11+
"Josh Berdine <jjb@fb.com>"
12+
"Hugo Heuzard <hugo.heuzard@gmail.com>"
13+
"Etienne Millon <etienne@tarides.com>"
14+
"Guillaume Petiot <guillaume@tarides.com>"
15+
"Jules Aguillon <jules@j3s.fr>"
16+
]
17+
license: "MIT"
18+
homepage: "https://github.com/ocaml-ppx/ocamlformat"
19+
bug-reports: "https://github.com/ocaml-ppx/ocamlformat/issues"
20+
depends: [
21+
"dune" {>= "2.8"}
22+
"ocaml" {>= "4.08"}
23+
"csexp" {>= "1.4.0"}
24+
"odoc" {with-doc}
25+
]
26+
build: [
27+
["dune" "subst"] {dev}
28+
[
29+
"dune"
30+
"build"
31+
"-p"
32+
name
33+
"-j"
34+
jobs
35+
"@install"
36+
"@runtest" {with-test}
37+
"@doc" {with-doc}
38+
]
39+
]
40+
dev-repo: "git+https://github.com/ocaml-ppx/ocamlformat.git"
41+
url {
42+
src:
43+
"https://github.com/ocaml-ppx/ocamlformat/releases/download/0.28.1/ocamlformat-0.28.1.tbz"
44+
checksum: [
45+
"sha256=70bda037d0bed961ed91bdb5198b2eeef542444750a8b015d80ccb94b3ff41fb"
46+
"sha512=8de0517165c6f0cadcedcce66e57cb723956768a8068abd062243abb08fabf292283d0d284be230aa5647d0883a4dc7f28fcf1b70338a2b0c9b17a5bed1bbb71"
47+
]
48+
}
49+
x-commit-hash: "809492a6044557239ed1e1c2f78eec602f068ea4"
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
opam-version: "2.0"
2+
synopsis: "Auto-formatter for OCaml code"
3+
description: """
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."""
10+
maintainer: [
11+
"Guillaume Petiot <guillaume@tarides.com>"
12+
"Jules Aguillon <jules@j3s.fr>"
13+
"Emile Trotignon <emile@tarides.com>"
14+
]
15+
authors: [
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+
]
22+
homepage: "https://github.com/ocaml-ppx/ocamlformat"
23+
bug-reports: "https://github.com/ocaml-ppx/ocamlformat/issues"
24+
depends: [
25+
"ocaml" {>= "4.08"}
26+
"cmdliner" {with-test = "false" & >= "1.1.0" | with-test & >= "1.2.0"}
27+
"csexp" {>= "1.4.0"}
28+
"dune" {>= "2.8"}
29+
"ocamlformat-lib" {= version}
30+
"ocamlformat-rpc-lib" {with-test & = version}
31+
"re" {>= "1.10.3"}
32+
"odoc" {with-doc}
33+
]
34+
build: [
35+
["dune" "subst"] {dev}
36+
[
37+
"dune"
38+
"build"
39+
"-p"
40+
name
41+
"-j"
42+
jobs
43+
"@install"
44+
"@runtest" {with-test}
45+
"@doc" {with-doc}
46+
]
47+
]
48+
dev-repo: "git+https://github.com/ocaml-ppx/ocamlformat.git"
49+
# 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
50+
license: ["MIT" "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"]
51+
url {
52+
src:
53+
"https://github.com/ocaml-ppx/ocamlformat/releases/download/0.28.1/ocamlformat-0.28.1.tbz"
54+
checksum: [
55+
"sha256=70bda037d0bed961ed91bdb5198b2eeef542444750a8b015d80ccb94b3ff41fb"
56+
"sha512=8de0517165c6f0cadcedcce66e57cb723956768a8068abd062243abb08fabf292283d0d284be230aa5647d0883a4dc7f28fcf1b70338a2b0c9b17a5bed1bbb71"
57+
]
58+
}
59+
x-commit-hash: "809492a6044557239ed1e1c2f78eec602f068ea4"

0 commit comments

Comments
 (0)