Skip to content

Instantly share code, notes, and snippets.

@wtsnz
Last active July 27, 2016 02:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wtsnz/7242148 to your computer and use it in GitHub Desktop.
Save wtsnz/7242148 to your computer and use it in GitHub Desktop.
Find the amount of lines of code in your iOS Project.Run this in the root project folder
Obj-c
find . -iname "*.m" -o -iname "*.h" -not -path "*/Pods/*" -not -path "*ThirdParty*" -exec wc -l '{}' +
Swift:
find . -iname "*.swift" -not -path "*/Pods/*" -not -path "*/Carthage/*" -not -path "*submodules*" -exec wc -l '{}' +
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment