]> khamidou — GitHub mirrors - arcanist.git/commit
Support `arc lint --output none`
authorvrana <jakubv@fb.com>
Mon, 25 Feb 2013 20:33:51 +0000 (12:33 -0800)
committervrana <jakubv@fb.com>
Mon, 25 Feb 2013 22:55:57 +0000 (14:55 -0800)
commit9d9225390376c47255f2bf8f1b890135840e65f3
tree171378795d7335d8ecfffb04fb522d494dd8e555
parent0b120bd04b17ff16dc9b6133a9ec7a5cad555daa
Support `arc lint --output none`

Summary:
I want to run lint on background and I'm interested only in side effect of caching (and maybe exit status).
This is better than discarding stdout later because we don't do unnecessary work and error conditions are still printed.

Test Plan:
  $ arc lint --output none # with error
  $ echo $?
  $ arc lint --output none # with no lintable paths
  $ arc lint --output none # witout errors

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin
Differential Revision: https://secure.phabricator.com/D5106
src/__phutil_library_map__.php
src/lint/linter/ArcanistPhutilXHPASTLinter.php
src/lint/renderer/ArcanistLintNoneRenderer.php [new file with mode: 0644]
src/workflow/ArcanistLintWorkflow.php