mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-20 01:36:17 +00:00
Makefile: count-lines: ignore build/* files, also add total number of .py files
This commit is contained in:
parent
c1756780f7
commit
fb134d82f9
6
Makefile
6
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user