Is it possible to define a single BUILD find with ...
# general
b
Is it possible to define a single BUILD find with input parameters and have other folders/services in a mono repo use this BUILD file. Reason is that I have most of the same steps for most of the services and trying to avoid creating multiple BUILD files with just different parameters
c
There are macros/prelude files you can use, the contents of which will be available in all BUILD files. https://www.pantsbuild.org/docs/macros
1
For “simpler” default values for targets, there’s also
__defaults__
https://www.pantsbuild.org/docs/targets#field-default-values
1
b
Cool.. thanks again
👍 1