final-checker.sh extended with search for global statements
[mailer.git] / DOCS / todo-builder.sh
index 52c4164ab986beab0388e092b31346c700ef53b2..cabf20a408d5cbb5cecda7934f759dd642e0b1d8 100644 (file)
@@ -11,6 +11,8 @@ fi
 echo "$0: Generating TODOs.txt..."
 echo "### WARNING: THIS FILE IS AUTO-GENERATED BY $0 ###" > DOCS/TODOs.txt
 echo "### DO NOT EDIT THIS FILE. ###" >> DOCS/TODOs.txt
-find -type f -name "*.php" -exec grep -Hn "@TODO" {} \; | sort >> DOCS/TODOs.txt
+find -type f -name "*.php" -exec grep -Hin "@TODO" {} \; | sort >> DOCS/TODOs.txt
+echo "### ### DEPRECATION FOLLOWS: ### ###" >> DOCS/TODOs.txt
+find -type f -name "*.php" -exec grep -Hin "@DEPRECATED" {} \; | sort >> DOCS/TODOs.txt
 echo "$0: Done."
 exit 0