Skip to content

Commit 5f59490

Browse files
committed
Update to Dune 3.18, and move opem generation to dune
1 parent 425a7a1 commit 5f59490

34 files changed

Lines changed: 284 additions & 167 deletions

drivers/generic/ppx_protocol_driver.mli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,5 +99,5 @@ end
9999
*)
100100
val mangle: string -> string
101101

102-
module Make: functor (D : Driver)(P : Parameters) ->
102+
module Make: functor (D : Driver)(_ : Parameters) ->
103103
Protocol_conv.Runtime.Driver with type t = D.t

drivers/json/json.mli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
(* Json Protocol *)
22
include Protocol_conv.Runtime.Driver with type t = Yojson.Safe.t [@@warning "-3"]
3-
module Make(P: Ppx_protocol_driver.Parameters) : (Protocol_conv.Runtime.Driver with type t = Yojson.Safe.t) [@@warning "-3"]
3+
module Make(_: Ppx_protocol_driver.Parameters) : (Protocol_conv.Runtime.Driver with type t = Yojson.Safe.t) [@@warning "-3"]
44
module Yojson : sig
55
include Protocol_conv.Runtime.Driver with type t = Yojson.Safe.t [@@warning "-3"]
66
val of_yojson_exn: t -> t

drivers/json/test/dune

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
(action (run %{deps}))
1111
)
1212

13-
(alias
14-
(name runtest)
13+
(rule
14+
(alias runtest)
1515
(package ppx_protocol_conv_json)
1616
(action (diff unittest.expected unittest.output))
1717
)

drivers/jsonm/jsonm.mli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
include Protocol_conv.Runtime.Driver with type t = Ezjsonm.value
2-
module Make(P: Ppx_protocol_driver.Parameters) : (Protocol_conv.Runtime.Driver with type t = Ezjsonm.value)
2+
module Make(_: Ppx_protocol_driver.Parameters) : (Protocol_conv.Runtime.Driver with type t = Ezjsonm.value)
33
val of_jsonm_exn: t -> t
44
val of_jsonm: t -> (t, error) Protocol_conv.Runtime.result
55
val to_jsonm: t -> t

drivers/jsonm/test/dune

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
(action (run %{deps}))
1010
)
1111

12-
(alias
13-
(name runtest)
12+
(rule
13+
(alias runtest)
1414
(package ppx_protocol_conv_jsonm)
1515
(action (diff unittest.expected unittest.output))
1616
)

drivers/msgpack/msgpack.mli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module Make(P: Ppx_protocol_driver.Parameters) : (Protocol_conv.Runtime.Driver with type t = Msgpck.t)
1+
module Make(_: Ppx_protocol_driver.Parameters) : (Protocol_conv.Runtime.Driver with type t = Msgpck.t)
22
include Protocol_conv.Runtime.Driver with type t = Msgpck.t
33

44
val of_msgpack_exn: t -> t

drivers/msgpack/test/dune

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
(action (run %{deps}))
1111
)
1212

13-
(alias
14-
(name runtest)
13+
(rule
14+
(alias runtest)
1515
(package ppx_protocol_conv_msgpack)
1616
(action (diff unittest.expected unittest.output))
1717
)

drivers/xml_light/test/dune

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
(action (run %{deps}))
1010
)
1111

12-
(alias
13-
(name runtest)
12+
(rule
13+
(alias runtest)
1414
(package ppx_protocol_conv_xml_light)
1515
(action (diff unittest.expected unittest.output))
1616
)

drivers/xmlm/test/dune

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
(action (run %{deps}))
1010
)
1111

12-
(alias
13-
(name runtest)
12+
(rule
13+
(alias runtest)
1414
(package ppx_protocol_conv_xmlm)
1515
(action (diff unittest.expected unittest.output))
1616
)

drivers/yaml/test/dune

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
(action (run %{deps}))
1010
)
1111

12-
(alias
13-
(name runtest)
12+
(rule
13+
(alias runtest)
1414
(package ppx_protocol_conv_yaml)
1515
(action (diff unittest.expected unittest.output))
1616
)

0 commit comments

Comments
 (0)