]> git.saurik.com Git - wxWidgets.git/blobdiff - misc/scripts/svn/hooks/pre-commit
exclude SWIG generated files from being checked
[wxWidgets.git] / misc / scripts / svn / hooks / pre-commit
index 6c75f4d367b864502971e6cfade03cdf56c38875..2910940abfa98614bdbfddabd9394b193b1fca27 100755 (executable)
@@ -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
+