ENH: Updated pre-commit hook

This commit is contained in:
andy
2013-02-22 10:56:27 +00:00
parent 217243109d
commit 9326bdb112

View File

@ -3,7 +3,7 @@
# ========= |
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
# \\ / O peration |
# \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
# \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
# \\/ M anipulation |
#------------------------------------------------------------------------------
# License
@ -147,7 +147,7 @@ checkIllegalCode()
do
case "$f" in
# exclude potential makefiles
(*[Mm]akefile* | wmake/rules/*)
(*[Mm]akefile* | wmake/rules/* | *.f* | *.v[cf]proj | *.pdf | *.png | *.html | *.gif | *.css)
;;
(*)
fileType=`file -b $f`