mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-30 08:04:08 +00:00
Makefile count-lines: let it work on OS-X (-l not --lines), add XXX
OS-X's simple-minded /usr/bin/wc doesn't understand --lines, but everyone understands -l .
This commit is contained in:
parent
5fc9978826
commit
5a1463d587
8
Makefile
8
Makefile
@ -148,11 +148,13 @@ check-umids:
|
||||
|
||||
count-lines:
|
||||
@echo -n "files: "
|
||||
@find src -name '*.py' |grep -v /build/ |wc --lines
|
||||
@find src -name '*.py' |grep -v /build/ |wc -l
|
||||
@echo -n "lines: "
|
||||
@cat `find src -name '*.py' |grep -v /build/` |wc --lines
|
||||
@cat `find src -name '*.py' |grep -v /build/` |wc -l
|
||||
@echo -n "TODO: "
|
||||
@grep TODO `find src -name '*.py' |grep -v /build/` | wc --lines
|
||||
@grep TODO `find src -name '*.py' |grep -v /build/` | wc -l
|
||||
@echo -n "XXX: "
|
||||
@grep XXX `find src -name '*.py' |grep -v /build/` | wc -l
|
||||
|
||||
check-memory: .built
|
||||
rm -rf _test_memory
|
||||
|
Loading…
x
Reference in New Issue
Block a user