Add another test case for meta generation (#449)
A library that has been pp'd with a preprocessor that has runtime deps
This commit is contained in:
parent
062cca21e5
commit
eac036a446
|
@ -35,6 +35,13 @@
|
||||||
(public_name foobar.rewriter2)
|
(public_name foobar.rewriter2)
|
||||||
(ppx_runtime_libraries (foobar_runtime_lib2))))
|
(ppx_runtime_libraries (foobar_runtime_lib2))))
|
||||||
|
|
||||||
|
(library
|
||||||
|
((name foobar_ppd)
|
||||||
|
(public_name foobar.ppd)
|
||||||
|
(synopsis "pp'd with a rewriter")
|
||||||
|
(libraries (foobar))
|
||||||
|
(preprocess (pps (foobar_rewriter)))))
|
||||||
|
|
||||||
(alias
|
(alias
|
||||||
((name runtest)
|
((name runtest)
|
||||||
(action (echo "${read:META.foobar}"))))
|
(action (echo "${read:META.foobar}"))))
|
||||||
|
|
|
@ -14,6 +14,15 @@
|
||||||
plugin(byte) = "foobar_baz.cma"
|
plugin(byte) = "foobar_baz.cma"
|
||||||
plugin(native) = "foobar_baz.cmxs"
|
plugin(native) = "foobar_baz.cmxs"
|
||||||
)
|
)
|
||||||
|
package "ppd" (
|
||||||
|
directory = "ppd"
|
||||||
|
description = "pp'd with a rewriter"
|
||||||
|
requires = "foobar"
|
||||||
|
archive(byte) = "foobar_ppd.cma"
|
||||||
|
archive(native) = "foobar_ppd.cmxa"
|
||||||
|
plugin(byte) = "foobar_ppd.cma"
|
||||||
|
plugin(native) = "foobar_ppd.cmxs"
|
||||||
|
)
|
||||||
package "rewriter" (
|
package "rewriter" (
|
||||||
directory = "rewriter"
|
directory = "rewriter"
|
||||||
description = "ppx rewriter"
|
description = "ppx rewriter"
|
||||||
|
|
Loading…
Reference in New Issue