bloder
12/16/2019, 1:32 AMprivate val Meta.transformTest: Plugin
get() = "Transform Test" {
meta(
classDeclaration({ name == "ManyCustomCase" }) { c ->
(Transform.replace(...)
+ Transform.remove(...)
+ Transform.newSources(...)
+ Transform.enableTest())
}
)
}
With that we don't need to write a comment in our transformed code to generate .meta
files. (and of course this idea wasn't created because I always forget to put the test comment 😅)raulraja
12/16/2019, 8:15 AMTransform.debug
and it takes 0 to N commands as supported by the test DSL.bloder
12/16/2019, 1:23 PM