|
|
@@ -6,10 +6,11 @@ |
|
|
|
nfails=0 |
|
|
|
nfiles=0 |
|
|
|
nlines=0 |
|
|
|
for dir in caca kernel src cxx examples ruby tools; do |
|
|
|
for dir in $(make -s echo-dirs -C ..); do |
|
|
|
if [ ! -d "../$dir" ]; then continue; fi |
|
|
|
for x in $(make -s echo-sources -C ../$dir); do |
|
|
|
case "$x" in |
|
|
|
*.c|*.cpp|*.h|*.m) |
|
|
|
*.c|*.cpp|*.h|*.m|*.php|*.cs|*.java|.py|.pl) |
|
|
|
nfiles=$(($nfiles + 1)); |
|
|
|
nlines=$(($nlines + `grep -c . "../$dir/$x"`)) ;; |
|
|
|
*) |
|
|
|