DescriptionModify gcl lint to use regexes to figure out which files should be linted.
I've added two settings to codereview.settings - LINT_REGEX and
LINT_IGNORE_REGEX - to specify which files should be linted. The default
is to lint anything that ends in .cpp, .cc, .inl, or .h, and to ignore
nothing.
I have also modified GetCachedFile() to look for a locally modified version
of codereview.settings before looking in the repository.
R=maruel@chromium.org
TEST=none
BUG=none
Patch Set 1 #Patch Set 2 : '' #Patch Set 3 : '' #
Total comments: 7
Patch Set 4 : updated w/ regexes #
Total comments: 8
Patch Set 5 : use single regexes, make other suggested changes #Messages
Total messages: 9 (0 generated)
|