]> git.mxchange.org Git - mailer.git/blobdiff - DOCS/final-checker.sh
THANK_YOU.txt updated, fixed over-long message
[mailer.git] / DOCS / final-checker.sh
index 93e39a701e367ef0f36d3f0467f73c5b91f23db1..b3de570576e026b8d19b94a6b4dcd7d3ab52dcd6 100755 (executable)
@@ -1,30 +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 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..."
-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" --count`
-echo "$0: Result..."
-echo "--------------------------------------"
-echo " - Open TODOs: ${TODOS_PHP}/${TODOS_TPL}"
-echo " - Open DEPRECATED: ${DEPRECATED_PHP}/${DEPRECATED_TPL}"
-echo " - global statements: ${GLOBALS}"
-echo "--------------------------------------"
-echo "$0: Thanks for waiting for the final release 0.2.1-FINAL! :-)"
-echo
-exit 0
+#@DEPRECATED