Skip to content

Commit

Permalink
Update README's dune file to allow duniverse builds
Browse files Browse the repository at this point in the history
If we have vendored the capnp package, we want to get the OCaml schema
compiler plugin binary from there, not from `$PATH`.
  • Loading branch information
talex5 committed Sep 26, 2019
1 parent 17bd2ba commit 4ce6360
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 4ce6360

Please sign in to comment.