Add code statistics script
This commit is contained in:
parent
99ed9edf1d
commit
7cda050345
1 changed files with 5 additions and 0 deletions
5
stats.sh
Executable file
5
stats.sh
Executable file
|
|
@ -0,0 +1,5 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
echo "Total commits:" $(git rev-list --all --count)
|
||||||
|
echo "Source files: " $(find tools/ libs/ examples/ -name '*.cpp' -or -name '*.hpp' | wc -l)
|
||||||
|
echo "Source lines: " $(find tools/ libs/ examples/ -name '*.cpp' -or -name '*.hpp' | xargs cat | wc -l)
|
||||||
Loading…
Add table
Reference in a new issue