radare2/mk/stat.mk

19 lines
653 B
Makefile
Raw Normal View History

stat-todo:
@printf "XXX\tTODO\tName\n"
@for a in libr/* ; do \
if [ -d "$$a" ]; then \
xxx=`grep -e XXX $$a/*.c $$a/p/*.c $$a/t/*.c 2>/dev/null | wc -l` ; \
todo=`grep -e TODO $$a/*.c $$a/p/*.c $$a/t/*.c 2>/dev/null | wc -l` ; \
printf "$$xxx\t$$todo\t$$a\n" ; \
fi ; \
done
stat-make:
make 2>&1 | perl mk/stat-make.pl
stat-commiters:
@hg log -r tip:0|grep user:|cut -d @ -f 1 |cut -d '<' -f 1|sed -e 's,",,'|sed -e 's,\ *$$,,'|tr 'A-Z' 'a-z' | sort|uniq -c |sort -n|tail -r
stat-release:
@hg log -r 0.6:0.7|grep user:|cut -d @ -f 1 |cut -d '<' -f 1|sed -e 's,",,'|sed -e 's,\ *$$,,'|tr 'A-Z' 'a-z' | sort|uniq -c |sort -n|tail -r