summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/util
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-01-20 12:07:30 -0500
committerNeil Moore <neil@s-z.org>2014-01-20 12:36:04 -0500
commit6e5730344cadb5ecf8b2f50560bb1194c4bcd29c (patch)
tree81eba49d887d7cbfd3d9aa3d008be759cd4607aa /crawl-ref/source/util
parent7cb5c5c1de96937acd6ea085f2801fca1ae122bb (diff)
downloadcrawl-ref-6e5730344cadb5ecf8b2f50560bb1194c4bcd29c.tar.gz
crawl-ref-6e5730344cadb5ecf8b2f50560bb1194c4bcd29c.zip
Ignore javascript contribs in checkwhite.
Though we would save one byte off the ba-linkify.min.js (removing two spaces from the header comment and adding a newline at the end).
Diffstat (limited to 'crawl-ref/source/util')
-rwxr-xr-xcrawl-ref/source/util/checkwhite1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/util/checkwhite b/crawl-ref/source/util/checkwhite
index 888e83c6d3..e6397cdc41 100755
--- a/crawl-ref/source/util/checkwhite
+++ b/crawl-ref/source/util/checkwhite
@@ -19,6 +19,7 @@ for (@files)
chomp;
next if -d $_;
-f $_ or (print(STDERR "Can't read $_\n"), next);
+ next if /webserver\/static\/scripts\/contrib\//i;
next if /\.(png|gif|ttf|ico|icns|fig|tex|eps|pdf)$/i;
next if /\.(sln|vim|pbxproj|vsprops|plist|csproj|config|cs)$/i;
next if /\.(vcproj|vcproj\.user|vcxproj|vcxproj\.filters)$/i;