Count LoC in tests and docs as well
This commit is contained in:
parent
cd332eb2d5
commit
d6a073945d
@ -15,7 +15,7 @@ for line in cp.stdout.decode().splitlines():
|
|||||||
files_to_exclude += '\n' + line.split(':')[0]
|
files_to_exclude += '\n' + line.split(':')[0]
|
||||||
|
|
||||||
p = subprocess.Popen([
|
p = subprocess.Popen([
|
||||||
'cloc', '--exclude-list-file', '/dev/stdin', 'kitty', 'kittens', 'tools',
|
'cloc', '--exclude-list-file', '/dev/stdin', 'kitty', 'kittens', 'tools', 'kitty_tests', 'docs',
|
||||||
], stdin=subprocess.PIPE)
|
], stdin=subprocess.PIPE)
|
||||||
p.communicate(files_to_exclude.encode('utf-8'))
|
p.communicate(files_to_exclude.encode('utf-8'))
|
||||||
raise SystemExit(p.wait())
|
raise SystemExit(p.wait())
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user