projects
/
mailer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rewrite of language strings
[mailer.git]
/
DOCS
/
final-checker.sh
diff --git
a/DOCS/final-checker.sh
b/DOCS/final-checker.sh
index 4f3acbaa9a00f46f30116c57365bcd8552824a5e..93e39a701e367ef0f36d3f0467f73c5b91f23db1 100755
(executable)
--- a/
DOCS/final-checker.sh
+++ b/
DOCS/final-checker.sh
@@
-9,8
+9,10
@@
if ! test -e "modules.php"; then
fi
echo "$0: Analyzing..."
fi
echo "$0: Analyzing..."
-echo " - TODOs..."
-TODOS=`find -type f -name "*.php" -exec grep "@TODO" {} \; | grep "@" --count`
+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..."
echo " - DEPRECATED PHP..."
DEPRECATED_PHP=`find -type f -name "*.php" -exec grep "@DEPRECATED" {} \; | grep "@" --count`
echo " - DEPRECATED TPL..."
@@
-19,8
+21,8
@@
echo " - global statements..."
GLOBALS=`find -type f -name "*.php" -exec grep -Hn "global " {} \; | grep -v "//" | grep -v "phpmailer" --count`
echo "$0: Result..."
echo "--------------------------------------"
GLOBALS=`find -type f -name "*.php" -exec grep -Hn "global " {} \; | grep -v "//" | grep -v "phpmailer" --count`
echo "$0: Result..."
echo "--------------------------------------"
-echo " - Open TODOs: ${TODOS}"
-echo " - Open DEPRECATED
(PHP/TPL)
: ${DEPRECATED_PHP}/${DEPRECATED_TPL}"
+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 " - global statements: ${GLOBALS}"
echo "--------------------------------------"
echo "$0: Thanks for waiting for the final release 0.2.1-FINAL! :-)"