hey folks. Is there a syntax to address all target...
# general
f
hey folks. Is there a syntax to address all targets recursively excluding the targets in the current directory? I can exclude an arbitrary directory with
--filter-address-regex
but struggling to find the right syntax for something like
./pants dependencies :: --exclude-targets=":"
1
c
try this:
Copy code
./pants list src/python/pants/backend/docker:: -src/python/pants/backend/docker/util_rules::
❤️ 1
that is, regular target specs, but prefixed with
-
f
Wow. I mean wow 😄 I think
./pants dependencies :: -:
does what I need — it skips targets in the current directory
👍 2