nice-florist-55958
06/27/2022, 3:17 PMpackage
and test
goals have a similar option as fmt
that tells Pants to consider only changed files, say within a glob (e.g., /sub/path::
), and then walk back up the dependency graph to find all the relevant pex_binary, python_tests, etc.
targets? Would like to add this step to our PR approval process and automatically reject a PR that causes these goals to fail (i.e., prove that a build will work in the release chain, and that any change does not affect another build).narrow-vegetable-37489
06/27/2022, 3:43 PMnarrow-vegetable-37489
06/27/2022, 3:46 PM--changed-since
and --changed-dependees
, as well as target addresses, are available on most goals.hundreds-father-404
06/27/2022, 4:04 PMtailor
and update-build-files
. Which means every goal works with it, except for the very few goals that don't take normal CLI args: roots
and paths
iircnice-florist-55958
06/27/2022, 9:51 PM