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:
c175678
)
Makefile: count-lines: ignore build/* files, also add total number of .py files
author
Brian Warner
<warner@allmydata.com>
Wed, 31 Jan 2007 01:10:37 +0000
(18:10 -0700)
committer
Brian Warner
<warner@allmydata.com>
Wed, 31 Jan 2007 01:10:37 +0000
(18:10 -0700)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 265091663cece42ccd1c2b2c4854135bd42e8067..1f3bd406d8bac9d8ea4c9037b1625143c88c2d19 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-60,10
+60,12
@@
pyflakes:
pyflakes src/allmydata
count-lines:
+ @echo -n "files: "
+ @find src -name '*.py' |grep -v /build/ |wc --lines
@echo -n "lines: "
- @cat `find src -name '*.py'` |wc --lines
+ @cat `find src -name '*.py'
|grep -v /build/
` |wc --lines
@echo -n "TODO: "
- @grep TODO `find src -name '*.py'` | wc --lines
+ @grep TODO `find src -name '*.py'
|grep -v /build/
` | wc --lines
clean:
rm -rf build