enough-analyst-54434
11/10/2020, 2:13 AMpython
, GOPATH in for go
and -sourcepath for javac
.hundreds-father-404
11/10/2020, 2:17 AMresources
would work, which can be used by multiple languages.
At a minimum, we should rewrite the docs to lean much more heavily on those language-specific terminologyenough-analyst-54434
11/10/2020, 2:18 AMresources
specific source root today? If not then it just uses the found source root. That works across languages since resource always means the same thing wrt path in the app (in all languages I'm familiar with).enough-analyst-54434
11/10/2020, 2:21 AMenough-analyst-54434
11/10/2020, 2:22 AMroots
) which uses all the roots!happy-kitchen-89482
11/10/2020, 3:54 AMhappy-kitchen-89482
11/10/2020, 3:57 AMaverage-vr-56795
11/10/2020, 7:40 AMresources
is too general a target type, which makes it hard to reason about in different languages?enough-analyst-54434
11/10/2020, 5:49 PMhundreds-father-404
11/10/2020, 5:52 PMpython_thrift_library
and java_thrift_library
referring to the same Thrift code. We simplified that in v2 to only be a single thrift_library
, and we use “plugin fields” to add additional fields like python_interpreter_compatibility
, along with specific subsystems like [python-protobuf]
. This deduplicates BUILD files.
I suspect we’d want the same with resources, that it’d be annoying to have python_resources
and java_resources
referring to the same files.witty-crayon-22786
11/11/2020, 8:06 PMhundreds-father-404
11/11/2020, 8:21 PMpants.toml
, the simpler. Fewer questions of “wait, which one do I change again?”
+1 on updating the docs