chore: new loc count by author
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
2e2560dea7
commit
1396f15c78
7
Makefile
7
Makefile
@ -36,3 +36,10 @@ test:
|
|||||||
|
|
||||||
loc:
|
loc:
|
||||||
@find . -name "*.go" | xargs wc -l
|
@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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user