Script to count lines of code

This commit is contained in:
Kovid Goyal 2017-01-12 20:41:02 +05:30
parent ac53776ee4
commit 8fc07485f4

5
count-lines-of-code Executable file
View File

@ -0,0 +1,5 @@
#!/bin/sh
E=/tmp/exclude-from-cloc
echo -e 'kitty/wcwidth9.h\nkitty/unicode-data.h\nkitty/gl.h\nkitty/glfw.c\nkitty/glfw.h' > $E
cloc --exclude-list-file=$E kitty
rm $E