From 01f5c271e1310ea8ff990e2aaa7c3cd4a2515cd3 Mon Sep 17 00:00:00 2001 From: Josh Steiner Date: Tue, 12 May 2015 18:09:45 -0400 Subject: [PATCH] Ignore dependency warnings in Carthage --- templates/todo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/"