]> khamidou — GitHub mirrors - arcanist.git/commit
Add --everything support to 'arc lint'
authorEric Stern <firehed@gmail.com>
Sun, 28 Jul 2013 01:29:20 +0000 (18:29 -0700)
committerepriestley <git@epriestley.com>
Sun, 28 Jul 2013 01:29:20 +0000 (18:29 -0700)
commit12f2175da18992221668933d006ecae3e9d16db0
tree2dc0835fc3b80999b8c0cc4dfa6fbea3964892b8
parentb56634ad2746f53ef8bea22be904c99c73d3fb0d
Add --everything support to 'arc lint'

Summary:
When adding arcanist support to a new project or adding a new linter,
it's helpful to be able to run new linters against the entire codebase. This
patch adds support for this with an '--everything' option, similar to 'arc unit
--everything'

Test Plan:
Run 'arc lint --everything' and check out the code. Optionally dump
the paths to test in the current lint engine's buildLinters() function to
demonstrate that it's receiving all files in the project rather than just the
changed and/or specified ones

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, epriestley, Korvin
Differential Revision: https://secure.phabricator.com/D6592
src/workflow/ArcanistLintWorkflow.php