X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=DOCS%2Ffinal-checker.sh;h=b3de570576e026b8d19b94a6b4dcd7d3ab52dcd6;hb=d70b3c3eddeaf35fd18e94211bd992cc9f87b06f;hp=665cb34a6000ef4a386a5e2271ccf0310bfa585e;hpb=5e1a9e64cac94cf48e754b95366f1a82febb2b5d;p=mailer.git diff --git a/DOCS/final-checker.sh b/DOCS/final-checker.sh old mode 100644 new mode 100755 index 665cb34a60..b3de570576 --- a/DOCS/final-checker.sh +++ b/DOCS/final-checker.sh @@ -1,28 +1 @@ -#!/bin/sh - -# Shell script to determine how close we are to final release -# If one of these values are bigger zero we still have to do something -# -if ! test -e "modules.php"; then - echo "$0: Please execute this script from root directory." - exit 1 -fi - -echo "$0: Analyzing..." -echo " - TODOs..." -TODOS=`find -type f -name "*.php" -exec grep "@TODO" {} \; | grep "@" --count` -echo " - DEPRECATED PHP..." -DEPRECATED_PHP=`find -type f -name "*.php" -exec grep "@DEPRECATED" {} \; | grep "@" --count` -echo " - DEPRECATED TPL..." -DEPRECATED_TPL=`find -type f -name "*.tpl" -exec grep "@DEPRECATED" {} \; | grep "@" --count` -echo " - global statements..." -GLOBALS=`find -type f -name "*.php" -exec grep -Hn "global " {} \;|grep -v "//"| grep -v "phpmailer"|grep -v "/language/"|grep -v "EXT_" --count` -echo "$0: Result..." -echo "--------------------------------------" -echo " - Open TODOs: ${TODOS}" -echo " - Open DEPRECATED (PHP/TPL): ${DEPRECATED_PHP}/${DEPRECATED_TPL}" -echo " - Global statements: ${GLOBA:S}" -echo "--------------------------------------" -echo "$0: Thanks for waiting for the final release 0.2.1-FINAL! :-)" -echo -exit 0 +#@DEPRECATED