Created
June 11, 2014 11:33
-
-
Save edwardmp/beb91742bfb62a8525c9 to your computer and use it in GitHub Desktop.
Place this line in your ~/bash_profile. Restart Terminal and type loc in a Xcode project. It will return the lines of code, excluding Pods.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias loc='find . ! -path "./Pods/*" "(" -name "*.m" -or -name "*.mm" -or -name "*.cpp" ")" -print0 | xargs -0 wc -l' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment