From 6e5730344cadb5ecf8b2f50560bb1194c4bcd29c Mon Sep 17 00:00:00 2001 From: Neil Moore Date: Mon, 20 Jan 2014 12:07:30 -0500 Subject: 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). --- crawl-ref/source/util/checkwhite | 1 + 1 file changed, 1 insertion(+) (limited to 'crawl-ref/source/util') 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; -- cgit v1.2.3-54-g00ecf