Skip to content

Commit 2b82d7a

Browse files
committed
Upgrade to ocamlformat.0.28.1
1 parent 5cb7b4a commit 2b82d7a

File tree

7 files changed

+66
-66
lines changed

7 files changed

+66
-66
lines changed

.ocamlformat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version=0.27.0
1+
version=0.28.1
22
ocaml-version=5.3
33
profile=janestreet
44
parse-docstrings=true

dune-project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@
262262
(dune
263263
(>= 3.20))
264264
(ocamlformat
265-
(= 0.27.0))
265+
(= 0.28.1))
266266
(base
267267
(>= v0.17))
268268
(bisect_ppx

dunolint-dev.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ bug-reports: "https://github.com/mbarbin/dunolint/issues"
1111
depends: [
1212
"ocaml" {>= "5.3" & < "5.4~"}
1313
"dune" {>= "3.17" & >= "3.20"}
14-
"ocamlformat" {= "0.27.0"}
14+
"ocamlformat" {= "0.28.1"}
1515
"base" {>= "v0.17"}
1616
"bisect_ppx" {>= "2.8.3"}
1717
"cmdlang" {>= "0.0.9"}

lib/dunolint/src/.ocamlformat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version=0.27.0
1+
version=0.28.1
22
ocaml-version=4.14
33
profile=janestreet
44
parse-docstrings=true

lib/dunolint_base/src/.ocamlformat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version=0.27.0
1+
version=0.28.1
22
ocaml-version=4.14
33
profile=janestreet
44
parse-docstrings=true

lib/dunolint_cli/src/workspace_root.ml

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -20,37 +20,37 @@
2020
(*********************************************************************************)
2121

2222
(* This module is derived from the dune code base file
23-
* [./bin/workspace_root.mli] which is released under MIT:
24-
*
25-
* Copyright (c) 2016 Jane Street Group, LLC <opensource@janestreet.com>
26-
*
27-
* Permission is hereby granted, free of charge, to any person obtaining a copy
28-
* of this software and associated documentation files (the "Software"), to deal
29-
* in the Software without restriction, including without limitation the rights
30-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
31-
* copies of the Software, and to permit persons to whom the Software is
32-
* furnished to do so, subject to the following conditions:
33-
*
34-
* The above copyright notice and this permission notice shall be included in all
35-
* copies or substantial portions of the Software.
36-
*
37-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
38-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
39-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
40-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
41-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
42-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
43-
* SOFTWARE.
44-
*
45-
* Changes:
46-
*
47-
* - Remove explicit dependency to [Stdune] - use [Base] instead.
48-
* - Inline source file names (e.g. "dune-workspace").
49-
* - Use [Err] instead of [User_message].
50-
* - Rename [create_exn] as [find_exn].
51-
* - Use polymorphic variant and subtypes for [Kind].
52-
* - Remove [reach_from_root_prefix].
53-
*)
23+
* [./bin/workspace_root.mli] which is released under MIT:
24+
*
25+
* Copyright (c) 2016 Jane Street Group, LLC <opensource@janestreet.com>
26+
*
27+
* Permission is hereby granted, free of charge, to any person obtaining a copy
28+
* of this software and associated documentation files (the "Software"), to deal
29+
* in the Software without restriction, including without limitation the rights
30+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
31+
* copies of the Software, and to permit persons to whom the Software is
32+
* furnished to do so, subject to the following conditions:
33+
*
34+
* The above copyright notice and this permission notice shall be included in all
35+
* copies or substantial portions of the Software.
36+
*
37+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
38+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
39+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
40+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
41+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
42+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
43+
* SOFTWARE.
44+
*
45+
* Changes:
46+
*
47+
* - Remove explicit dependency to [Stdune] - use [Base] instead.
48+
* - Inline source file names (e.g. "dune-workspace").
49+
* - Use [Err] instead of [User_message].
50+
* - Rename [create_exn] as [find_exn].
51+
* - Use polymorphic variant and subtypes for [Kind].
52+
* - Remove [reach_from_root_prefix].
53+
*)
5454

5555
module Source_filename = struct
5656
let dune_project = "dune-project"

lib/dunolint_cli/src/workspace_root.mli

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -20,36 +20,36 @@
2020
(*_********************************************************************************)
2121

2222
(*_ This module is derived from the dune code base file
23-
* [./bin/workspace_root.mli] which is released under MIT:
24-
*
25-
* Copyright (c) 2016 Jane Street Group, LLC <opensource@janestreet.com>
26-
*
27-
* Permission is hereby granted, free of charge, to any person obtaining a copy
28-
* of this software and associated documentation files (the "Software"), to deal
29-
* in the Software without restriction, including without limitation the rights
30-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
31-
* copies of the Software, and to permit persons to whom the Software is
32-
* furnished to do so, subject to the following conditions:
33-
*
34-
* The above copyright notice and this permission notice shall be included in all
35-
* copies or substantial portions of the Software.
36-
*
37-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
38-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
39-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
40-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
41-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
42-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
43-
* SOFTWARE.
44-
*
45-
* Changes:
46-
*
47-
* - Use [Err] instead of [User_message].
48-
* - Use [Workspace_root] for the root dir.
49-
* - Remove [create].
50-
* - Make the type abstract add getters.
51-
* - Rename [create_exn] as [find_exn].
52-
*)
23+
* [./bin/workspace_root.mli] which is released under MIT:
24+
*
25+
* Copyright (c) 2016 Jane Street Group, LLC <opensource@janestreet.com>
26+
*
27+
* Permission is hereby granted, free of charge, to any person obtaining a copy
28+
* of this software and associated documentation files (the "Software"), to deal
29+
* in the Software without restriction, including without limitation the rights
30+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
31+
* copies of the Software, and to permit persons to whom the Software is
32+
* furnished to do so, subject to the following conditions:
33+
*
34+
* The above copyright notice and this permission notice shall be included in all
35+
* copies or substantial portions of the Software.
36+
*
37+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
38+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
39+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
40+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
41+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
42+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
43+
* SOFTWARE.
44+
*
45+
* Changes:
46+
*
47+
* - Use [Err] instead of [User_message].
48+
* - Use [Workspace_root] for the root dir.
49+
* - Remove [create].
50+
* - Make the type abstract add getters.
51+
* - Rename [create_exn] as [find_exn].
52+
*)
5353

5454
(** Finding the root of the workspace *)
5555

0 commit comments

Comments
 (0)