]> khamidou — GitHub mirrors - arcanist.git/commit
Improve `arc lint --output summary`
authorepriestley <git@epriestley.com>
Wed, 18 Dec 2013 22:21:03 +0000 (14:21 -0800)
committerepriestley <git@epriestley.com>
Wed, 18 Dec 2013 22:21:03 +0000 (14:21 -0800)
commit35c01eee7b6da1bdcf18023a986ce9d3b0af41d2
tree0901cda31a92271e8cd1c244e3ffdb76e388cdde
parent8e177c4db8d13a0cf0372265557bc025b5cdcd3e
Improve `arc lint --output summary`

Summary:
This currently output like this:

  file_a:
  file_b:
  file_c:
    Warning on line 29: blah blah

This isn't especially useful and can't be piped to other tools. Instead, emit output like:

  file_c:29:Warning: blah blah

This is greppable / pipeable.

Test Plan: Ran `arc lint --output summary`.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran
Differential Revision: https://secure.phabricator.com/D7788
src/lint/renderer/ArcanistLintSummaryRenderer.php