mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-21 18:06:46 +00:00
Makefile: add target to count lines of code and TODOs
This commit is contained in:
parent
22731125f3
commit
3c1bfbe746
6
Makefile
6
Makefile
@ -51,6 +51,12 @@ figleaf-output:
|
|||||||
pyflakes:
|
pyflakes:
|
||||||
pyflakes src/allmydata
|
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:
|
clean:
|
||||||
rm -rf build
|
rm -rf build
|
||||||
rm -f debian
|
rm -f debian
|
||||||
|
Loading…
x
Reference in New Issue
Block a user