X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=DOCS%2Ffinal-checker.sh;h=322b9382d018f72b87d2d3a1845db68b92dc4f84;hp=93e39a701e367ef0f36d3f0467f73c5b91f23db1;hb=3971209b0996a1b0506d6ddaf7326432933eae1b;hpb=81823a24e050ed6a463b2020ebf64fcfdf99d85d diff --git a/DOCS/final-checker.sh b/DOCS/final-checker.sh index 93e39a701e..322b9382d0 100755 --- a/DOCS/final-checker.sh +++ b/DOCS/final-checker.sh @@ -13,16 +13,20 @@ echo " - TODOs in PHP..." TODOS_PHP=`find -type f -name "*.php" -exec grep "@TODO" {} \; | grep "@" --count` echo " - TODOs in TPL..." TODOS_TPL=`find -type f -name "*.tpl" -exec grep "@TODO" {} \; | grep "@" --count` -echo " - DEPRECATED PHP..." +echo " - TODOs in XML..." +TODOS_XML=`find -type f -name "*.xml" -exec grep "@TODO" {} \; | grep "@" --count` +echo " - DEPRECATED in PHP..." DEPRECATED_PHP=`find -type f -name "*.php" -exec grep "@DEPRECATED" {} \; | grep "@" --count` -echo " - DEPRECATED TPL..." +echo " - DEPRECATED in TPL..." DEPRECATED_TPL=`find -type f -name "*.tpl" -exec grep "@DEPRECATED" {} \; | grep "@" --count` +echo " - DEPRECATED in XML..." +DEPRECATED_XML=`find -type f -name "*.xml" -exec grep "@DEPRECATED" {} \; | grep "@" --count` echo " - global statements..." -GLOBALS=`find -type f -name "*.php" -exec grep -Hn "global " {} \; | grep -v "//" | grep -v "phpmailer" --count` +GLOBALS=`find -type f -name "*.php" -exec grep -Hn "global " {} \; | grep -v "//" | grep -v "security_functions.php" | grep -v "phpmailer" --count` echo "$0: Result..." echo "--------------------------------------" -echo " - Open TODOs: ${TODOS_PHP}/${TODOS_TPL}" -echo " - Open DEPRECATED: ${DEPRECATED_PHP}/${DEPRECATED_TPL}" +echo " - Open TODOs: ${TODOS_PHP}/${TODOS_TPL}/${TODOS_XML}" +echo " - Open DEPRECATED: ${DEPRECATED_PHP}/${DEPRECATED_TPL}/${DEPRECATED_XML}" echo " - global statements: ${GLOBALS}" echo "--------------------------------------" echo "$0: Thanks for waiting for the final release 0.2.1-FINAL! :-)"