loud-coat-45270
09/07/2022, 8:30 PMhappy-kitchen-89482
09/08/2022, 6:09 PMwitty-crayon-22786
09/08/2022, 6:14 PMloud-coat-45270
09/08/2022, 6:41 PM.proto
files)?protobuf_sources()
rule)GeneratedSources()
with the .proto
files I need
• I have a subclass of GenerateSourcesRequest
with output_field = ProtobufSourceField
• If I run pants export-codegen //:my_target
, I get the .proto
files inside dist/codegen
• However, I'm not exactly sure how to hook this up to my protobuf_sources()
target. I tried passing //:my_target
as a dependency (no effect) and as a source (threw an error)witty-crayon-22786
09/08/2022, 6:52 PMBUILD
files for the protobuf_sources
would already need to live in the repo that you git-submoduled.loud-coat-45270
09/08/2022, 6:56 PMsubproject_root
? I think it's brokenwitty-crayon-22786
09/08/2022, 7:07 PMloud-coat-45270
09/08/2022, 7:53 PMrequirements.txt
? I'm just not sure how to tell pants about the non-python files, which should be extractable from the wheel (since it is just a zip file after all)