Skip to content

Commit 095b35c

Browse files
committed
Use nobase variants of ppxes to avoid dependency on unix though base
1 parent 7765c77 commit 095b35c

8 files changed

Lines changed: 9 additions & 9 deletions

File tree

examples/echo_deriving/dune

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
(name test)
44
(libraries ocaml-protoc-plugin unix google_types_deriving)
55
(preprocess
6-
(pps ppx_expect ppx_deriving.show ppx_deriving.eq ppx_deriving.ord))
6+
(pps ppx_expect_nobase ppx_deriving.show ppx_deriving.eq ppx_deriving.ord))
77
)
88

99
(rule

examples/echo_deriving/google_types_deriving/dune

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
(libraries ocaml-protoc-plugin)
44
(synopsis "Google well known types - with deriving")
55
(preprocess
6-
(pps ppx_expect ppx_deriving.show ppx_deriving.eq ppx_deriving.ord))
6+
(pps ppx_expect_nobase ppx_deriving.show ppx_deriving.eq ppx_deriving.ord))
77
)
88

99
(rule

ocaml-protoc-plugin.opam

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ depends: [
1818
"conf-c++" {with-test}
1919
"dune" {>= "3.12"}
2020
"ocaml" {>= "4.08.0"}
21-
"ppx_expect"
22-
"ppx_inline_test"
21+
"ppx_expect_nobase"
22+
"ppx_inline_test_nobase"
2323
"ppx_deriving" {with-test}
2424
"bisect_ppx" {with-test}
2525
"odoc" {with-doc}

src/ocaml_protoc_plugin/dune

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
(synopsis "Serialization and deserialization of protobuf types")
55
(inline_tests)
66
(libraries base64 ptime)
7-
(preprocess (pps ppx_expect))
7+
(preprocess (pps ppx_expect_nobase ppx_inline_test_nobase))
88
(instrumentation (backend bisect_ppx))
99
)

test/dune

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
(glob_files *.proto)
3232
))
3333
(modules :standard \ proto3_optional_test_opt)
34-
(preprocess (pps ppx_expect ppx_deriving.show ppx_deriving.eq))
34+
(preprocess (pps ppx_expect_nobase ppx_deriving.show ppx_deriving.eq))
3535
(foreign_stubs
3636
(language cxx)
3737
(names protobuf2json)

test/google_types_pp/dune

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
(name google_types_pp)
33
(libraries ocaml_protoc_plugin)
44
(preprocess
5-
(pps ppx_expect ppx_deriving.show ppx_deriving.eq))
5+
(pps ppx_expect_nobase ppx_deriving.show ppx_deriving.eq))
66

77
(synopsis "Google well known types with pretty printing")
88
)

test/test_params/dune

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
(name prefix_output_with_package)
33
(inline_tests)
44
(libraries ocaml_protoc_plugin google_types_prefixed)
5-
(preprocess (pps ppx_expect))
5+
(preprocess (pps ppx_expect_nobase))
66
)
77

88
(rule

test/test_params/google_types_prefixed/dune

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
(name google_types_prefixed)
33
(libraries ocaml_protoc_plugin)
44
(preprocess
5-
(pps ppx_expect ppx_deriving.show ppx_deriving.eq))
5+
(pps ppx_expect_nobase ppx_deriving.show ppx_deriving.eq))
66
(synopsis "Google well known types with prefix_output_with_package=true")
77
)
88

0 commit comments

Comments
 (0)