[Kimchi-devel] [PATCH][Wok] Improve UI error codes checking

Ramon Medeiros ramonn at linux.vnet.ibm.com
Fri Jun 10 15:44:11 UTC 2016


I will send v2

On 06/10/2016 11:57 AM, Ramon Medeiros wrote:
> Signed-off-by: Ramon Medeiros <ramonn at linux.vnet.ibm.com>
> ---
>   check_ui_code_errors.sh | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/check_ui_code_errors.sh b/check_ui_code_errors.sh
> index 4d9a8bd..32353b5 100755
> --- a/check_ui_code_errors.sh
> +++ b/check_ui_code_errors.sh
> @@ -20,7 +20,7 @@
>   # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
>
>   errors="$(cat ui/pages/i18n.json.tmpl | grep -o 'WOK[0-9A-Z]*'| sort)"
> -uiErrors="$(grep -Ro 'WOK[0-9A-Z]*' ui/js/ | cut -d: -f2 | sort| uniq)"
> +uiErrors="$(grep -ERo 'WOK[A-Z]{3,6}[0-9A-Z]*' ui/js/ | cut -d: -f2 | sort| uniq)"
>
>   # all errors on i18n are present in js/html files: success
>   if [ "$errors" == "$uiErrors" ]; then

-- 

Ramon Nunes Medeiros
Kimchi Developer
Linux Technology Center Brazil
IBM Systems & Technology Group
Phone : +55 19 2132 7878
ramonn at br.ibm.com




More information about the Kimchi-devel mailing list