removed windows and linux split subdir
This commit is contained in:
parent
83dda10fa8
commit
065b982734
280 changed files with 9053 additions and 426 deletions
13
.antidote/tools/sloc
Executable file
13
.antidote/tools/sloc
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/env zsh
|
||||
0=${(%):-%x}
|
||||
BASEDIR=${0:h:h}
|
||||
cd $BASEDIR
|
||||
print "loc:"
|
||||
wc -l antidote.zsh ./functions/*(.)
|
||||
print "sloc:"
|
||||
for file in antidote.zsh ./functions/*(.); do
|
||||
lines=$(awk '/^ *[^#]+$/{print}' $file | wc -l)
|
||||
print $lines $file
|
||||
done
|
||||
print "sloc total:"
|
||||
awk '/^ *[^#]+$/{print}' antidote.zsh ./functions/*(.) | wc -l
|
||||
Loading…
Add table
Add a link
Reference in a new issue