Hi, is there a way to filter target by type when b...
# general
c
Hi, is there a way to filter target by type when build? Something like this:
./pants binary :: --filter-type=python_library
Or is there a way to pipe the result from
./pants filter
to the net goal?
w
you have to use an intermediate file, but:
./pants filter --type=python_library --output-file=$tmpfile :: && ./pants --target-spec-file=$tmpfile binary
👍 1
c
This opens a lot of doors for me. Thanks