Skip to content

Commit

Permalink
Ignore dependency warnings in Carthage
Browse files Browse the repository at this point in the history
  • Loading branch information
jsteiner committed May 12, 2015
1 parent d754aee commit 01f5c27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/todo.sh
Original file line number Diff line number Diff line change
@@ -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/"

0 comments on commit 01f5c27

Please sign in to comment.