famous-xylophone-36532
02/14/2023, 11:54 AMpex_binary
targets in the project in pants.toml
?refined-addition-53644
02/14/2023, 12:20 PMpants.toml
but I think you can use ___defaults___
to achieve this. This you need to set in some top level BUILD file so that all the target defined under/at it use this default value
__defaults__({
(pex_binary, pex_binaries): dict(platforms=["platform1", ""platform2""], description="All supported platforms")
})
https://www.pantsbuild.org/docs/targets#field-default-values
By the way, this is bit tricky with platforms, you need to do this using complete_platforms
. You might want to read this thread
https://pantsbuild.slack.com/archives/C046T6T9U/p1670366698746769famous-xylophone-36532
02/14/2023, 12:57 PMrefined-addition-53644
02/14/2023, 12:58 PMdocker_environment
which has been introduced in 2.15.famous-xylophone-36532
02/14/2023, 1:00 PMrefined-addition-53644
02/14/2023, 1:00 PMfamous-xylophone-36532
02/14/2023, 1:26 PM