From: Brian Warner Date: Mon, 22 Jan 2007 08:17:39 +0000 (-0700) Subject: Makefile: add target to count lines of code and TODOs X-Git-Tag: tahoe_v0.1.0-0-UNSTABLE~331 X-Git-Url: https://git.rkrishnan.org/components/com_hotproperty/...?a=commitdiff_plain;h=3c1bfbe746cb08f8ba4232166d24b4cf71d012ee;p=tahoe-lafs%2Ftahoe-lafs.git Makefile: add target to count lines of code and TODOs --- diff --git a/Makefile b/Makefile index 710d593b..6814a5e9 100644 --- a/Makefile +++ b/Makefile @@ -51,6 +51,12 @@ figleaf-output: pyflakes: pyflakes src/allmydata +count-lines: + @echo -n "lines: " + @cat `find src -name '*.py'` |wc --lines + @echo -n "TODO: " + @grep TODO `find src -name '*.py'` | wc --lines + clean: rm -rf build rm -f debian