]> khamidou — GitHub mirrors - arcanist.git/commit
JSON output for Lint
authorAran Donohue <aran@facebook.com>
Mon, 4 Apr 2011 01:04:20 +0000 (18:04 -0700)
committerAran Donohue <aran@facebook.com>
Mon, 4 Apr 2011 17:07:06 +0000 (10:07 -0700)
commit76c45a74f3bca05591d219812db5de1e1e2a1102
tree0dfbab6a1b4ff0f9b8f6e0a9883c97ddcc26d03a
parent4bce8732e5e0964c23748d3613623732205af761
JSON output for Lint

Summary:
Refactor ArcanistLintRenderer into three independent classes, and let
the Workflow select between them based on its 'output' parameter.

Test Plan:
Introduce a Lint warning and lint with no --output, with --output summary and
with --output JSON.

Reviewed By: epriestley
Reviewers: epriestley
CC: aran, epriestley
Differential Revision: 96
src/lint/renderer/ArcanistLintJSONRenderer.php [new file with mode: 0644]
src/lint/renderer/ArcanistLintRenderer.php
src/lint/renderer/ArcanistLintSummaryRenderer.php [new file with mode: 0644]
src/lint/renderer/__init__.php
src/workflow/lint/ArcanistLintWorkflow.php