Any existing ideas for how we could use bazel outp...
# general
h
Any existing ideas for how we could use bazel outputs in the pants-side of our repo? Could
experimental_shell_command
work its way in here to call out to build bazel things for us?
a
Yes, you could absolutely get `shell_command`/`adhoc_tool` to execute something else under the hood, as long as you can get the entire environment into the Pants sandbox
(We can capture
npm
outputs fairly effectively with a bit of work https://github.com/pantsbuild/example-adhoc/blob/main/javascript/BUILD), but we haven’t tried bazel under the hood. That’d be a cool demo though