https://pantsbuild.org/ logo
a

ambitious-actor-36781

12/23/2022, 12:42 AM
is there a quicker way to do
Copy code
./pants dependees --dependees-transitive //my/target | xargs ./pants test
👍 1
h

hundreds-father-404

12/23/2022, 1:44 AM
No not that I'm aware of
h

high-yak-85899

12/23/2022, 1:52 AM
Not your intent, but you can say
dependees
—`transitive`
a

ambitious-actor-36781

12/23/2022, 1:53 AM
oh you don't need the goal-subsystems's scope if you're running that goal
h

happy-kitchen-89482

12/23/2022, 6:20 AM
That shouldn't be very slow though? Unless you have xargs set up (eg via shell alias) so that n=1
a

ambitious-actor-36781

12/23/2022, 6:23 AM
I was just remembering a cool clojure feature where you could run the tests on the /thing/ not through the tests.
8 Views