You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Scala backend currently has multiple examples of rules that use wrapper programs written in Scala or Java to accomplish build-related tasks. For example, (1) the Scala protobuf codegen rules use a Scala shim binary to invoke the ScalaPB compiler; and (2) dependency inference for both Java and Scala use programs written in those languages, respectively, to parse source code to extract symbols.
We should refactor the rules that build those programs to use a set of common rules as makes sense.
The text was updated successfully, but these errors were encountered:
Idea: Have the engine provide targets (via scala_sources, java_sources, and whatever jar-producing target type is needed) that can be built using the regular compilation rules in the Scala and Java backends.
The Scala backend currently has multiple examples of rules that use wrapper programs written in Scala or Java to accomplish build-related tasks. For example, (1) the Scala protobuf codegen rules use a Scala shim binary to invoke the ScalaPB compiler; and (2) dependency inference for both Java and Scala use programs written in those languages, respectively, to parse source code to extract symbols.
We should refactor the rules that build those programs to use a set of common rules as makes sense.
The text was updated successfully, but these errors were encountered: