[Kimchi-devel] [PATCH] [Wok] Bug fix #163: make check-local: whitespace verification is not excluding imported files

bianca at linux.vnet.ibm.com bianca at linux.vnet.ibm.com
Thu Dec 15 19:28:51 UTC 2016


From: Bianca Carvalho <bianca at linux.vnet.ibm.com>

Changed Makefile.am to ignore ui imported files (ui/libs).

Signed-off-by: Bianca Carvalho <bianca at linux.vnet.ibm.com>
---
 Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 539c6a2..72ffb50 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -64,7 +64,7 @@ check-local:
 	@if $(GIT) rev-parse &> /dev/null ; then                        \
 		echo "Whitespace verification ...";                         \
 		git grep --cached -Il '' |                                  \
-			grep -v '^ui/css/src/vendor/' | xargs egrep '.* +$$' 	\
+			grep -v '^ui/css/src/vendor/\|^ui/libs/' | xargs egrep '.* +$$' 	\
 			&& echo "ERROR: Whitespaces found" || echo "Ok";     	\
 		echo "Check IBM license header and copyright date ..." ;    \
 		/bin/bash check-IBM-license-header.sh ;						\
-- 
2.9.3




More information about the Kimchi-devel mailing list