META.in 830 Bytes
Newer Older
Ralf Treinen's avatar
Ralf Treinen committed
1 2 3 4 5 6 7 8 9 10 11 12
version = "%{version}%"
description = "[@@deriving yojson]"
requires(-ppx_driver) = "ppx_deriving ppx_deriving_yojson.runtime"
ppxopt(-ppx_driver,-custom_ppx) = "ppx_deriving,./ppx_deriving_yojson.cma"
requires(ppx_driver) = "ppx_deriving.api"
archive(ppx_driver, byte) = "ppx_deriving_yojson.cma"
archive(ppx_driver, native) = "ppx_deriving_yojson.cmxa"
exists_if = "ppx_deriving_yojson.cma"

package "runtime" (
  version = "%{version}%"
  description = "Runtime components of [@@deriving yojson]"
Ralf Treinen's avatar
Ralf Treinen committed
13
  requires = "yojson result ppx_deriving.runtime"
Ralf Treinen's avatar
Ralf Treinen committed
14 15 16 17 18 19
  archive(byte) = "ppx_deriving_yojson_runtime.cma"
  archive(byte, plugin) = "ppx_deriving_yojson_runtime.cma"
  archive(native) = "ppx_deriving_yojson_runtime.cmxa"
  archive(native, plugin) = "ppx_deriving_yojson_runtime.cmxs"
  exists_if = "ppx_deriving_yojson_runtime.cma"
)