Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TAGS="TODO:|FIXME:"
- find "${PROJECT_DIR}/${PROJECT_NAME}" \( -name "*.swift" \) -print0 | xargs -0 egrep --with-filename --line-number --only-matching "($TAGS).*\$" | perl -p -e "s/($TAGS)/ warning: \$1/"
- //You have to change the property `"${PROJECT_DIR}/${PROJECT_NAME}"` to conform with your project setup.
- //To track OBJC files change the `\( -name "*.swift" \)` to `( -name "*.h" -or -name "*.m" -or -name "*.swift" \)`
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement