daml/language-support/codegen-common
Jost Berthold b0b3e29c49
language-support/scala: add support for specifying dependency roots explicitly (#1210)
* language-support/scala: add support for specifying roots explicitly

By default, code-gen will use all templates in the given package as roots, and
generate code for all types used. This patch adds the ability to specify roots
explicitly via a set of regex.es to match the (fully qualified) template names.

This is an experiment, tests and UI need to be adjusted later.

* scala codegen rootfilter: move filtering to envIFace handling

* doc for --root option

* scalafmt

* test filterTemplatesBy

* release note for --root Scala codegen option
2019-06-12 11:10:23 +10:00
..
src language-support/scala: add support for specifying dependency roots explicitly (#1210) 2019-06-12 11:10:23 +10:00
BUILD.bazel Unify Scala and Java Codegen Inputs (#585) 2019-04-18 19:04:57 +00:00