Missing properties added
[mailer.git] / DOCS / todo-builder.sh
index 0765d1e73706a4ffdd366dc1f502b5ae2e4d0302..3f238d7ae1e42b2fac01852e019315236b4cf398 100644 (file)
@@ -8,9 +8,13 @@ if ! test -e "modules.php"; then
   exit 1
 fi
 
   exit 1
 fi
 
-echo "$0: Generating TODOs.txt..."
-echo "### WARNING: THIS FILE IS AUTO-GENERATED BY $0 ###" > DOCS/TODOs.txt
+echo "$0: Generating TODOs.txt ..."
+echo "### WARNING: THIS FILE IS AUTO-GENERATED BY $0 ($UID/$USER) ###" > DOCS/TODOs.txt
 echo "### DO NOT EDIT THIS FILE. ###" >> DOCS/TODOs.txt
 echo "### DO NOT EDIT THIS FILE. ###" >> DOCS/TODOs.txt
-find -type f -name "*.php" -exec grep -Hn "@TODO" {} \; >> DOCS/TODOs.txt
+echo "$0: Searching for @TODO ..."
+find -type f -name "*.php" -exec grep -Hin "@TODO" {} \; | sort >> DOCS/TODOs.txt
+echo "### ### DEPRECATION FOLLOWS: ### ###" >> DOCS/TODOs.txt
+echo "$0: Searching for @DEPRECATED ..."
+find -type f -name "*.php" -exec grep -Hin "@DEPRECATED" {} \; | sort >> DOCS/TODOs.txt
 echo "$0: Done."
 exit 0
 echo "$0: Done."
 exit 0