hundreds-father-404
09/09/2018, 3:12 PM{a, b}
?
That sounds useful to me! A couple things to think about
- are there any goals where this doesn’t make sense to allow multiple targets to run? I can’t think of any, but would be good to check pants goals
for a sanity check
- do we parse and validate all targets first (strict evaluation), or lazily go through each running the goal and then moving on to next target? In your above example, should you get an error about the invalid a
target right away or only after executing testing
- how do we enforce you can only do this at the top level of folders path? We don’t want to allow src/python/pants/{base,bin}:other
, right?enough-analyst-54434
09/09/2018, 4:09 PM$ echo ./pants test tests/python/pants_test/option:{testing,a}
./pants test tests/python/pants_test/option:testing tests/python/pants_test/option:a
hundreds-father-404
09/09/2018, 5:02 PM