https://pantsbuild.org/ logo
#general
Title
# general
h

hundreds-father-404

05/23/2022, 5:43 PM
Some improvements coming to command-line arguments in Pants 2.13 🥳 1. "target-less" goals like
update-build-files
,
tailor
, and
count-loc
now behave the same as "target-aware" goals like
list
.
./pants count-loc ::
runs on all files, and
./pants --changed-since=HEAD update-build-files
only will run on changed BUILD files 2.
./pants test dir
now does what you'd intuitively expect. Before, it would run on the target that left off the
name=
field 🤦 now, you can set an option so that directories == all targets & files in the directory 3.
filter
options work from anywhere. Before:
./pants filter --target-type=python_test :: | xargs ./pants test
. After:
./pants --filter-target-type=python_test test ::
🚀 5
👖 2
🎉 2
4 Views