-
-
Save Gautier/984463 to your computer and use it in GitHub Desktop.
Find all the TODO in a django/android project which need to be fixed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Find all the TODO in the code which need to be fixed | |
# Android | |
if [ -f AndroidManifest.xml ]; then | |
echo '\nJava' | |
git grep -In "\(TODO\)\|\(XXX\)" -- '*.java' | |
echo "Resources" | |
git grep -In "\(TODO\)\|\(XXX\)" -- '*.xml' | |
fi | |
# Django | |
if [ -f manage.py ]; then | |
echo "Templates" | |
git grep -In "\(TODO\)\|\(XXX\)" -- '*.html' | |
echo '\nPython' | |
git grep -In "\(TODO\)\|\(XXX\)" -- '*.py' | |
fi | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment