Skip to content

Commit ffb4cb7

Browse files
committed
Switch to Sexplib0 instead of Sexplib
1 parent aaf44e0 commit ffb4cb7

File tree

10 files changed

+14
-14
lines changed

10 files changed

+14
-14
lines changed

dockerfile-cmd.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ depends: [
4242
"fmt" {>= "0.8.7"}
4343
"logs"
4444
"ppx_sexp_conv" {>= "v0.9.0"}
45-
"sexplib"
45+
"sexplib0"
4646
"odoc" {with-doc}
4747
]
4848
conflicts: [

dockerfile-opam.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ depends: [
3939
"fmt" {>= "0.8.7"}
4040
"ocaml-version" {>= "3.5.0"}
4141
"ppx_sexp_conv" {>= "v0.9.0"}
42-
"sexplib"
42+
"sexplib0"
4343
"alcotest" {>= "1.9.1" & with-test}
4444
"odoc" {with-doc}
4545
]

dockerfile.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ depends: [
3535
"ocaml" {>= "4.08"}
3636
"fmt" {>= "0.8.7"}
3737
"ppx_sexp_conv" {>= "v0.9.0"}
38-
"sexplib"
38+
"sexplib0"
3939
"alcotest" {>= "1.9.1" & with-test}
4040
"odoc" {with-doc}
4141
]

dune-project

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
(ocaml (>= "4.08"))
3939
(fmt (>= "0.8.7"))
4040
(ppx_sexp_conv (>= "v0.9.0"))
41-
sexplib
41+
sexplib0
4242
(alcotest (and (>= "1.9.1") :with-test)))
4343
(conflicts
4444
(result (< 1.5))
@@ -64,7 +64,7 @@
6464
(fmt (>= "0.8.7"))
6565
logs
6666
(ppx_sexp_conv (>= "v0.9.0"))
67-
sexplib)
67+
sexplib0)
6868
(conflicts
6969
(result (< 1.5))
7070
(rresult (< 0.7.0)))
@@ -86,7 +86,7 @@
8686
(fmt (>= "0.8.7"))
8787
(ocaml-version (>= "3.5.0"))
8888
(ppx_sexp_conv (>= "v0.9.0"))
89-
sexplib
89+
sexplib0
9090
(alcotest (and (>= "1.9.1") :with-test)))
9191
(conflicts
9292
(result (< 1.5))

src-cmd/dockerfile_cmd.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*
1616
*)
1717

18-
open Sexplib.Conv
18+
open Sexplib0.Sexp_conv
1919
open Bos
2020
open Astring
2121
module OC = OS.Cmd
@@ -55,7 +55,7 @@ let run_log ?(ok_to_fail = true) ?env log_dir name cmd =
5555
let success = status = `Exited 0 in
5656
let cmd_log = { command; stdout; success; status } in
5757
let path = Fpath.(log_dir / (name ^ ".sxp")) in
58-
OS.File.write path (Sexplib.Sexp.to_string_hum (sexp_of_cmd_log cmd_log))
58+
OS.File.write path (Sexplib0.Sexp.to_string_hum (sexp_of_cmd_log cmd_log))
5959
>>= fun () ->
6060
match status with
6161
| `Signaled n -> if ok_to_fail then Ok () else Fmt.error_msg "Signal %d" n

src-opam/distro.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
(** Distro selection for various OPAM combinations. *)
1919

20-
open Sexplib.Conv
20+
open Sexplib0.Sexp_conv
2121

2222
type distro =
2323
[ `Alpine of

src-opam/dune

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
(name dockerfile_opam)
33
(public_name dockerfile-opam)
44
(synopsis "Dockerfile functions to generate opam2 base containers")
5-
(libraries ocaml-version dockerfile fmt sexplib)
5+
(libraries ocaml-version dockerfile fmt sexplib0)
66
(preprocess
77
(pps ppx_sexp_conv)))

src/dockerfile.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*
1616
*)
1717

18-
open Sexplib.Conv
18+
open Sexplib0.Sexp_conv
1919

2020
type shell_or_exec =
2121
[ `Shell of string | `Shells of string list | `Exec of string list ]

src/dockerfile.mli

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424
type t
2525
(** [t] is a list of Dockerfile lines *)
2626

27-
val sexp_of_t : t -> Sexplib.Sexp.t
27+
val sexp_of_t : t -> Sexplib0.Sexp.t
2828
(** [sexp_of_t t] converts a Dockerfile into a s-expression representation. *)
2929

30-
val t_of_sexp : Sexplib.Sexp.t -> t
30+
val t_of_sexp : Sexplib0.Sexp.t -> t
3131
(** [t_of_sexp s] converts the [s] s-expression representation into a {!t}. The
3232
s-expression should have been generated using {!sexp_of_t}. *)
3333

src/dune

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
(name dockerfile)
33
(public_name dockerfile)
44
(synopsis "Dockerfile eDSL and combinators")
5-
(libraries sexplib fmt)
5+
(libraries sexplib0 fmt)
66
(preprocess
77
(per_module
88
((pps ppx_sexp_conv)

0 commit comments

Comments
 (0)