From 8fc07485f4e095f473ae9412c63e94696c29fcb4 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 12 Jan 2017 20:41:02 +0530 Subject: [PATCH] Script to count lines of code --- count-lines-of-code | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 count-lines-of-code diff --git a/count-lines-of-code b/count-lines-of-code new file mode 100755 index 000000000..0aa2817e8 --- /dev/null +++ b/count-lines-of-code @@ -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