X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=DOCS%2Ftodo-builder.sh;h=3f238d7ae1e42b2fac01852e019315236b4cf398;hb=9e604ce404fe7d2d8dafc259a5fb8cd826aec5e6;hp=821aa6801edbab69a2d128fad60cc0731d4f2ea4;hpb=a5d4f2529bcfab3bee7816f824e73affcd3c473b;p=mailer.git diff --git a/DOCS/todo-builder.sh b/DOCS/todo-builder.sh index 821aa6801e..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 -find -type f -name "*.php" -exec grep -Hin "@DEPRECATED" {} \; | 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