X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=DOCS%2Ftodo-builder.sh;h=3f238d7ae1e42b2fac01852e019315236b4cf398;hp=cabf20a408d5cbb5cecda7934f759dd642e0b1d8;hb=da7b89a86040b778274dd89201e2a339232276fb;hpb=78de893e6a62885f106b8176aece16847c09eea2 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