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

wonderful-iron-54019

05/06/2020, 7:50 PM
hey folks, seeing some output i wouldn't expect when . generating change . lists:
./pants minimize src/common:lib src/common:test
is returning
src/common:test
i think i see the issue, in this case the test is defined as 'covering' the the lib since its a dependent
👍 1
h

hundreds-father-404

05/06/2020, 8:14 PM
I don’t know super well how
minimize
works, but that sounds reasonable. Is this working how you’d expect now?
w

wonderful-iron-54019

05/06/2020, 8:15 PM
yeah i think this logic error escaped us since we usually include a
:job
that depends on the same
:lib
and job enforces a lib build as a dependency
👍 1
h

hundreds-father-404

05/06/2020, 8:16 PM
Awesome, glad you were able to figure it out. Also good data for us to know that you’re using
minimize
regularly 🙂
w

wonderful-iron-54019

05/06/2020, 8:16 PM
though the nature of testt targetts make this feel wrong
but it makes sense