Created
February 23, 2015 15:54
-
-
Save RomainBoulay/8135ab417989c7ec03ba to your computer and use it in GitHub Desktop.
Complexity script - XCode iOS - Build Phases
This file contains 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
find "${SRCROOT}" \( -name "*.h" -or -name "*.m" \) -print0 | xargs -0 wc -l | awk '$1 > 400 && $2 != "total" { print $2 ":1: warning: File has more than 400 lines, consider refactoring." }' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment