Make ./pants goal targets to find all the targets aliases/types automatically instead of being hardcoded.

Review Request #796 - Created July 30, 2014 and submitted

Information
Jin Feng
pants
333
Reviewers
pants-reviews
areitz, benjyw, ity, jsirois, stuhood, tejal, travis, zundel
Currently in TargetsHelp, we hardcoded the list of target aliases to target types mapping. This RB changes it to make the discovery dynamically, by looking at all the registered aliases in build_configuration and then intersect them with all the installed target types from SourceRoot.
passed: PANTS_DEV=1 ./pants goal test tests::
Jin Feng
Jin Feng
Mateo Rodriguez
Patrick Lawson
John Sirois
Jin Feng
John Sirois
John Sirois
Jin Feng
Eric Ayers
Jin Feng
Jin Feng
Tejal Desai
Eric Ayers
Jin Feng
Review request changed

Status: Closed (submitted)

Loading...