Daily Archives: June 4, 2017

Calculate LOC by shell script

Navigating to you project folder, run(python project) find . -name “*.py” |xargs grep -v “^$”|wc -l If it is a Objective-C project, the the script should look like this: find . -name “*.m” -or -name “*.h” |xargs grep -v “^$”|wc … Continue reading

Posted in Mac, Mobile | Leave a comment