Improve language stats for .net projects

This excludes some common js used in many .net project so that they
don't show up in language stats. Things exlude now include:
 - Visual Studio intellisense js files
 - Microsoft's Ajax and Validation js
 - Anything in the NuGet packages directory
This commit is contained in:
Tim Clem
2011-12-07 13:57:50 -08:00
parent 67fd84b36c
commit 446f53be70
2 changed files with 25 additions and 0 deletions

View File

@@ -241,6 +241,20 @@ class TestBlob < Test::Unit::TestCase
# WAF
assert blob("waf").vendored?
# Visual Studio IntelliSense
assert blob("Scripts/jquery-1.7-vsdoc.js").vendored?
# Microsoft Ajax
assert blob("Scripts/MicrosoftAjax.debug.js").vendored?
assert blob("Scripts/MicrosoftAjax.js").vendored?
assert blob("Scripts/MicrosoftMvcAjax.debug.js").vendored?
assert blob("Scripts/MicrosoftMvcAjax.js").vendored?
assert blob("Scripts/MicrosoftMvcValidation.debug.js").vendored?
assert blob("Scripts/MicrosoftMvcValidation.js").vendored?
# NuGet Packages
assert blob("packages/Modernizr.2.0.6/Content/Scripts/modernizr-2.0.6-development-only.js").vendored?
end
def test_indexable