Yang Tse
f461c6e61d
Make checksrc.pl work on more out-of-tree builds
...
Source files given with relative paths do not have the
-D directory specifier prepended.
2011-05-26 19:17:10 +02:00
Daniel Stenberg
bb7ff942d3
checksrc: trailing whitespace detection fix
2011-05-16 15:21:32 +02:00
Dan Fandrich
cbd98b2c28
Make checksrc.pl work on out-of-tree builds
...
Source files given with absolute paths do not have the
-D directory specifier prepended.
2011-04-27 12:42:15 -07:00
Daniel Stenberg
6a6981503e
checksrc: add -W to allow a file to be whitelisted
...
Useful when a known file just doesn't comply and there's no intention to
make it do so.
2011-04-27 09:09:35 +02:00
Daniel Stenberg
7ddcc8fea4
checksrc: scan many files, more checks
...
It now scans multiple files and outputs an error+warning count summary
at the end in case at least one was detected.
-D can be used to specify in which dir the files are located
The script now scans for conditions that starts with a space for
if/while/for lines.
2011-04-27 09:09:35 +02:00
Daniel Stenberg
92f722017c
checksrc: exit error code if warnings or errors
2011-04-27 09:09:35 +02:00
Daniel Stenberg
b903186fa0
source cleanup: unify look, style and indent levels
...
By the use of a the new lib/checksrc.pl script that checks that our
basic source style rules are followed.
2011-04-27 09:09:35 +02:00