Skip to content

Instantly share code, notes, and snippets.

@Leonidas-from-XIV
Created May 25, 2018 11:18
Show Gist options
  • Save Leonidas-from-XIV/48b483dc491a31a26a95f20e11b41321 to your computer and use it in GitHub Desktop.
Save Leonidas-from-XIV/48b483dc491a31a26a95f20e11b41321 to your computer and use it in GitHub Desktop.
protoc & dune
(rule
((targets (foo_types.mli
foo_types.ml
foo_pb.mli
foo_pb.ml
foo_pp.mli
foo_pp.ml))
(deps (foo.proto))
(action (run ocaml-protoc -int32_type int_t -int64_type int_t -ml_out . ${<}))))
@Sylvain78
Copy link

Exactly what i need !
Exactement ce dont j'avais besoin !
Ich brauche es !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment