From: Robin Dunn Date: Sun, 4 Oct 2009 00:00:12 +0000 (+0000) Subject: exclude SWIG generated files from being checked X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f14e42cec5fe7afa44fdd695b24a7d8a817af2f1 exclude SWIG generated files from being checked git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/misc/scripts/svn/hooks/pre-commit b/misc/scripts/svn/hooks/pre-commit index 6c75f4d367..2910940abf 100755 --- a/misc/scripts/svn/hooks/pre-commit +++ b/misc/scripts/svn/hooks/pre-commit @@ -18,7 +18,8 @@ rc=0 all_changed_files=`svnl changed | \ grep "^[AU]" | \ sed 's/^....//' | \ - egrep -v "src/(tiff|regex|jpeg|stc/scintilla)"` + egrep -v "src/(tiff|regex|jpeg|stc/scintilla)" | \ + egrep -v "_wrap.cpp"` # analyze the changed files to find all non-binary and all source files for f in $all_changed_files; do @@ -59,3 +60,4 @@ for f in $changed_text_files; do done exit $rc +