chore: new loc count by author
continuous-integration/drone/push Build is passing Details

This commit is contained in:
decentral1se 2021-10-24 18:08:00 +02:00
parent 2e2560dea7
commit 1396f15c78
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 7 additions and 0 deletions

View File

@ -36,3 +36,10 @@ test:
loc:
@find . -name "*.go" | xargs wc -l
loc-author:
@git ls-files -z | \
xargs -0rn 1 -P "$$(nproc)" -I{} sh -c 'git blame -w -M -C -C --line-porcelain -- {} | grep -I --line-buffered "^author "' | \
sort -f | \
uniq -ic | \
sort -n