Count LoC in tests and docs as well

This commit is contained in:
Kovid Goyal 2023-03-07 18:00:46 +05:30
parent cd332eb2d5
commit d6a073945d
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -15,7 +15,7 @@ for line in cp.stdout.decode().splitlines():
files_to_exclude += '\n' + line.split(':')[0]
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)
p.communicate(files_to_exclude.encode('utf-8'))
raise SystemExit(p.wait())