From 4ce63601590fce743d39acd0b10f8d34e08828c6 Mon Sep 17 00:00:00 2001 From: Thomas Leonard Date: Thu, 26 Sep 2019 14:45:00 +0100 Subject: [PATCH] Update README's dune file to allow duniverse builds If we have vendored the capnp package, we want to get the OCaml schema compiler plugin binary from there, not from `$PATH`. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5724026a2..0978056d5 100644 --- a/README.md +++ b/README.md @@ -245,7 +245,7 @@ Here's a suitable `dune` file to compile the schema file and then the generated (rule (targets echo_api.ml echo_api.mli) (deps echo_api.capnp) - (action (run capnpc -o ocaml %{deps}))) + (action (run capnpc -o %{bin:capnpc-ocaml} %{deps}))) ``` The service is now usable: