-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dune/jbuilder support unreleased? #23
Comments
It makes sense to prepare the release to support newer OCaml and ppx-deriving versions, once released: ocaml/opam-repository#14454 |
Now ppx_deriving and ppx_deriving_yojson were released and updated in opam repository, nothing stops from the releasing new version of ppx_deriving_protobuf, I think. |
Would be possible to craft a new release once #26 is merged. |
@gasche can you please release a new version with 4.08 support? |
I'm in holidays right now; please feel free to ping me again in a couple days if I haven't sent more signal. |
Thanks to @gasche it can be closed now. |
I'm not very clear on PPX actually works, so apologies if I'm just doing it wrong. But here's my sample code:
With ocaml 4.06.1 and ppx_deriving_protobuf 2.6 (in a fresh opam switch), running this gives me:
If I peek in
_build/log
and use the same ppx command executable to dump the output, I see it's not actually generating any code:After I
opam pin add ppx_deriving_protobuf git@github.com:ocaml-ppx/ppx_deriving_protobuf.git
, it works:Looking at the git log, I'm guessing the port to jbuilder (c5ece55) also makes the library work in jbuilder/dune, but that's ahead of the latest v2.6. Any chance of a release?
Side note: there's a warning about an unused
rec
infrom_protobuf
, whichdune
turns into an error (which is why I used thejbuilder
command as a workaround).The text was updated successfully, but these errors were encountered: