From: Eric S. Raymond Date: Mon, 1 Oct 2012 17:33:06 +0000 (-0400) Subject: Add a production to count lines of code. X-Git-Tag: 1.4~11 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=a014f439715f56104281cf3b85b82481a1f6a17d;p=irker.git Add a production to count lines of code. --- diff --git a/Makefile b/Makefile index 8913ac8..30ec44b 100644 --- a/Makefile +++ b/Makefile @@ -41,6 +41,8 @@ pylint: @pylint --output-format=parseable $(PYLINTOPTS) irkerd @pylint --output-format=parseable $(PYLINTOPTS) irkerhook.py +loc: + grep -v "^#" irkerd irkerhook.py | wc -l SOURCES = README COPYING NEWS BUGS install.txt security.txt hacking.txt \ irkerd irkerhook.py Makefile irkerd.xml irkerhook.xml