hallowed-plastic-91664
02/14/2022, 1:14 AM./pants package ::
or
./pants build ::
while I wait for go + protobuf support, I am wondering if it’s possible to use https://www.pantsbuild.org/docs/run-shell-commands target to compile the proto files manually before processing the go build processenough-analyst-54434
02/14/2022, 2:10 AMexperimental_shell_command
target, properly configure its outputs
field to capture the generated go files, and then add that target as a manual dependency to the go target that needs to consume the generated files - you have a fighting chance and should give it a whirl since you've then established the data dependency. If you're speaking of the order a ::
glob expands targets to and those targets are consumed by the engine, only the data dependency ordering mentioned can really be relied upon.enough-analyst-54434
02/14/2022, 2:12 AMexperimental_shell_command
should allow an escape hatch for and so it would be good to know if its working or not for this sort of case.hallowed-plastic-91664
02/15/2022, 4:20 AM