Skip to content

Instantly share code, notes, and snippets.

@ManWithBear
Created December 3, 2019 15:27
Show Gist options
  • Save ManWithBear/f155fb613ec8af02889fc17e3f4fef7f to your computer and use it in GitHub Desktop.
Save ManWithBear/f155fb613ec8af02889fc17e3f4fef7f to your computer and use it in GitHub Desktop.
Collect information about data types in project using Sourcery
enums {{ types.enums.count }}
protocols {{ types.protocols.count }}
classes {{ types.classes.count }}
structs {{ types.structs.count }}
@ManWithBear
Copy link
Author

./Pods/Sourcery/bin/sourcery --sources . --exclude-sources Pods/ --templates Sourcery/project_info.stencil --output Sourcery/

@ManWithBear
Copy link
Author

find . -name '*.swift' -not -path "./Tests/*" | xargs wc -l

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment