diff --git a/templates/todo.sh b/templates/todo.sh index ab29845..e9b0922 100644 --- a/templates/todo.sh +++ b/templates/todo.sh @@ -1,3 +1,3 @@ KEYWORDS="TODO:|FIXME:|\?\?\?:|\!\!\!:" FILE_EXTENSIONS="swift|h|m|mm|c|cpp" -find -E "${SRCROOT}" -ipath "${SRCROOT}/pods" -prune -o \( -regex ".*\.($FILE_EXTENSIONS)$" \) -print0 | xargs -0 egrep --with-filename --line-number --only-matching "($KEYWORDS).*\$" | perl -p -e "s/($KEYWORDS)/ warning: \$1/" +find -E "${SRCROOT}" -ipath "${SRCROOT}/Carthage" -o -ipath "${SRCROOT}/pods" -prune -o \( -regex ".*\.($FILE_EXTENSIONS)$" \) -print0 | xargs -0 egrep --with-filename --line-number --only-matching "($KEYWORDS).*\$" | perl -p -e "s/($KEYWORDS)/ warning: \$1/"