chore: new loc count by author
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
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…
Reference in New Issue