Skip to content

Commit

Permalink
List ppxs instead of ppx_jane
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarbin committed Feb 27, 2024
1 parent 6bf7998 commit a01ebf1
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 3 deletions.
31 changes: 30 additions & 1 deletion dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,40 @@
:with-test
(>= v0.16)
(< v0.17)))
(ppx_jane
(ppx_compare
(and
(>= v0.16)
(< v0.17)))
(ppx_enumerate
(and
(>= v0.16)
(< v0.17)))
(ppx_expect
(and
:with-test
(>= v0.16)
(< v0.17)))
(ppx_hash
(and
(>= v0.16)
(< v0.17)))
(ppx_here
(and
(>= v0.16)
(< v0.17)))
(ppx_js_style
(and
(>= v0.16)
(< v0.17)))
(ppx_let
(and
(>= v0.16)
(< v0.17)))
(ppx_sexp_conv
(and
(>= v0.16)
(< v0.17)))
(ppx_sexp_value
(and
(>= v0.16)
(< v0.17)))))
9 changes: 8 additions & 1 deletion dune-rpc-eio-example.opam
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,15 @@ depends: [
"eio" {>= "0.14"}
"eio_main" {>= "0.14"}
"expect_test_helpers_core" {with-test & >= "v0.16" & < "v0.17"}
"ppx_jane" {>= "v0.16" & < "v0.17"}
"ppx_compare" {>= "v0.16" & < "v0.17"}
"ppx_enumerate" {>= "v0.16" & < "v0.17"}
"ppx_expect" {with-test & >= "v0.16" & < "v0.17"}
"ppx_hash" {>= "v0.16" & < "v0.17"}
"ppx_here" {>= "v0.16" & < "v0.17"}
"ppx_js_style" {>= "v0.16" & < "v0.17"}
"ppx_let" {>= "v0.16" & < "v0.17"}
"ppx_sexp_conv" {>= "v0.16" & < "v0.17"}
"ppx_sexp_value" {>= "v0.16" & < "v0.17"}
"odoc" {with-doc}
]
build: [
Expand Down
11 changes: 10 additions & 1 deletion example/src/dune
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,13 @@
(flags :standard -w +a-4-40-41-42-44-45-48-66 -warn-error +a -open Base)
(libraries base core.command dune-rpc-eio eio eio_main)
(preprocess
(pps ppx_jane ppx_js_style -check-doc-comments)))
(pps
ppx_compare
ppx_enumerate
ppx_hash
ppx_here
ppx_let
ppx_sexp_conv
ppx_sexp_value
ppx_js_style
-check-doc-comments)))

0 comments on commit a01ebf1

Please sign in to comment.