pulsebridge-app/scripts/project_stats

15 lines
239 B
Text
Raw Normal View History

2024-03-07 01:32:21 +05:30
#!/bin/bash -eu
stats_for() {
local ext="$2"
local location="$1"
echo "Files of type: $ext"
wc -l $(find $location -name \*."$ext")
echo
}
stats_for src/main java
stats_for 'src/*est' java
stats_for demo-server js
stats_for src xml