projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2273112
)
Makefile: add target to count lines of code and TODOs
author
Brian Warner
<warner@lothar.com>
Mon, 22 Jan 2007 08:17:39 +0000
(
01:17
-0700)
committer
Brian Warner
<warner@lothar.com>
Mon, 22 Jan 2007 08:17:39 +0000
(
01:17
-0700)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 710d593b9f8e45db1288e53c54b96d3319f1f644..6814a5e9a64562c1d08a9664a4013612a7ba3743 100644
(file)
--- 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