Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (17 sloc) 0.47 kB
#!/bin/sh
loc=0
dirs="HTML Node"
mv HTML/jquery.js .
mv HTML/socket.io .
mv Node/socket.io-node .
mv HTML/external .
for dir in $dirs; do
files=`find $dir -type f | egrep -v "svn" | egrep -v "(DS_Store|pdf|svn|sql|png|txt|swfupload)"`
lines=`wc -l $files | tail -1 | sed "s/total//g"`
loc=$(($loc + $lines))
done
mv socket.io HTML
mv socket.io-node Node
mv external HTML
mv jquery.js HTML
echo "Lines of code: $loc (not including libraries / externals)"
Jump to Line
Something went wrong with that request. Please try again.