Coalesce errors when parsing BUILDS in a spec

Review Request #1061 — Created Sept. 22, 2014 and submitted — Latest diff uploaded

jcoveney
pants
262c115...
pants-reviews
benjyw, ity, patricklaw

Coalesce errors when parsing BUILDS in a spec

The idea is that when you submit a pants command, it will emit an error for ALL erroneous build files in a spec.

Note: if multiple specs are given on the command line, if a given one has an error, then only the first's will be printed, then it will error out.

I handled the errors as best as I could, becasue we need to know the flag before a lot of the options parsing happens.

I tested manually and it works. I need to update the unit tests but wanted to validate my approach first.

Loading...