fresh-architect-74417
10/09/2019, 11:18 PM1.18.0.dev0
Sorry for asking too many questions. What happens if I name my goal with something that's already exist?
For instance, instead of having install('hello-world')
, I use install('test')
from the following example.
task(name='world', action=WorldTask).install('hello-world')
How does the goal knows the right target?hundreds-father-404
10/09/2019, 11:28 PMtest
goal, so when you run ./pants test
it will also run WorldTask
fresh-architect-74417
10/10/2019, 4:56 AMfresh-architect-74417
10/10/2019, 4:56 AM