diff --git a/stats.sh b/stats.sh new file mode 100755 index 00000000..3fb3c445 --- /dev/null +++ b/stats.sh @@ -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)