From 59fa864732ecfdf1878161623f6e986ebffaaf56 Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Mon, 2 Jul 2012 15:56:31 +0000 Subject: [PATCH] * add vim commands to open to diff files. --- bin/check.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/bin/check.php b/bin/check.php index c697cd61fb..034638edac 100755 --- a/bin/check.php +++ b/bin/check.php @@ -36,6 +36,8 @@ $whiteList[] = 'svn-run'; $whiteList[] = 'admin-ignore'; $whiteList[] = 'admin-register'; $whiteList[] = 'admin-bind'; +$whiteList[] = 'admin-checkdb'; +$whiteList[] = 'admin-cleardata'; $whiteList[] = 'bug-sendmail'; $whiteList[] = 'project-commonaction'; $whiteList[] = 'project-sendmail'; @@ -43,6 +45,10 @@ $whiteList[] = 'story-commonaction'; $whiteList[] = 'story-sendmail'; $whiteList[] = 'task-sendmail'; $whiteList[] = 'user-setreferer'; +$whiteList[] = 'mail-index'; +$whiteList[] = 'mail-detect'; +$whiteList[] = 'mail-edit'; +$whiteList[] = 'mail-test'; /* checking actions of every module. */ echo '-------------action checking-----------------' . "\n"; @@ -108,7 +114,9 @@ foreach(glob($moduleRoot . '*') as $modulePath) if(trim($mainKey) != trim($key)) { $key = trim($key); - echo "$moduleName $langKey $mainKey $key " . ($lineNO + 1) . "\n"; + $lineNO = $lineNO + 1; + echo "module $moduleName need checking, command is:"; + echo " vim -O +$lineNO ../module/$moduleName/lang/zh-cn.php +$lineNO ../module/$moduleName/lang/en.php \n"; break; } }