X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=DOCS%2Ftodo-builder.sh;h=3f238d7ae1e42b2fac01852e019315236b4cf398;hp=cabf20a408d5cbb5cecda7934f759dd642e0b1d8;hb=e1c0f940af34a6ed5b00b3f37ad739f0a05b2793;hpb=4fe584c2e58ca2babe4141c1f4e8a595ec7a3ee9 diff --git a/DOCS/todo-builder.sh b/DOCS/todo-builder.sh index cabf20a408..3f238d7ae1 100644 --- a/DOCS/todo-builder.sh +++ b/DOCS/todo-builder.sh @@ -8,11 +8,13 @@ if ! test -e "modules.php"; then 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 "$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