Skip to content

Instantly share code, notes, and snippets.

@Yuliosity
Last active April 1, 2019 15:01
Show Gist options
  • Select an option

  • Save Yuliosity/a7db150787405ea579203d5b453fe9b2 to your computer and use it in GitHub Desktop.

Select an option

Save Yuliosity/a7db150787405ea579203d5b453fe9b2 to your computer and use it in GitHub Desktop.
;bin/rpc/dune
(library
(synopsis "RPC service")
(name rpc)
(public_name main.rpc)
(libraries core opium ezjsonm ppx_protocol_conv_jsonm)
(preprocess
(pps ppx_protocol_conv)))
;bin/dune
(executable
(name demo)
(public_name demo)
(preprocess
(pps ppx_protocol_conv))
(libraries core lwt ppx_protocol_conv_yaml yaml yaml.unix rpc)
(package main))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment