Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Debug 编译下,开启 //TODO: //FIXME: 警告
- if [ "${CONFIGURATION}" = "Debug" ]; then
- TAGS="TODO:|FIXME:"
- echo "searching ${SRCROOT} for ${TAGS}"
- find "${SRCROOT}" \( -name "*.swift" \) -print0 | xargs -0 egrep --with-filename --line-number --only-matching "($TAGS).*\$" | perl -p -e "s/($TAGS)/ warning: \$1/"
- fi
Add Comment
Please, Sign In to add comment