[postgis-tickets] r15821 - Ignore generated files in check-no-trailing-blanks
Sandro Santilli
strk at kbt.io
Tue Sep 26 01:15:51 PDT 2017
Author: strk
Date: 2017-09-26 01:15:51 -0700 (Tue, 26 Sep 2017)
New Revision: 15821
Modified:
trunk/GNUmakefile.in
Log:
Ignore generated files in check-no-trailing-blanks
Also be forgiving of a missing .gitignore (but then tests will
fail due to generated files possibly having trailing blanks)
Modified: trunk/GNUmakefile.in
===================================================================
--- trunk/GNUmakefile.in 2017-09-26 01:50:33 UTC (rev 15820)
+++ trunk/GNUmakefile.in 2017-09-26 08:15:51 UTC (rev 15821)
@@ -39,7 +39,9 @@
check-no-trailing-blanks:
! find . -name '*.c' -o -name '*.h' | \
- grep -vf .gitignore | \
+ grep -v lwin_wkt_lex.c | \
+ grep -v lwin_wkt_parse | \
+ if test -f .gitignore; then grep -vf .gitignore; else cat; fi | \
xargs grep -Pn '[\t ]$$'
installcheck:
More information about the postgis-tickets
mailing list