X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=DOCS%2Ftodo-builder.sh;h=3f238d7ae1e42b2fac01852e019315236b4cf398;hp=52c4164ab986beab0388e092b31346c700ef53b2;hb=e1c0f940af34a6ed5b00b3f37ad739f0a05b2793;hpb=4001187f22197f55e5a1f211fc8defcc180f7c32 diff --git a/DOCS/todo-builder.sh b/DOCS/todo-builder.sh index 52c4164ab9..3f238d7ae1 100644 --- a/DOCS/todo-builder.sh +++ b/DOCS/todo-builder.sh @@ -8,9 +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 -find -type f -name "*.php" -exec grep -Hn "@TODO" {} \; | sort >> 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