Remove VS project file supression

This commit is contained in:
Joshua Peek
2011-12-23 10:17:49 -06:00
parent 354cd3a1d7
commit 395a88aa97
2 changed files with 1 additions and 25 deletions

View File

@@ -231,7 +231,6 @@ module Linguist
#
# Includes:
# - XCode project XML files
# - Visual Studio project XNL files
# - Minified JavaScript
#
# Please add additional test coverage to
@@ -239,7 +238,7 @@ module Linguist
#
# Return true or false
def generated?
if xcode_project_file? || visual_studio_project_file?
if xcode_project_file?
true
elsif generated_coffeescript? || minified_javascript? || generated_net_docfile?
true
@@ -258,16 +257,6 @@ module Linguist
['.xib', '.nib', '.pbxproj', '.xcworkspacedata', '.xcuserstate'].include?(extname)
end
# Internal: Is the blob a Visual Studio project file?
#
# Generated if the file extension is a Visual Studio project
# file extension.
#
# Returns true of false.
def visual_studio_project_file?
['.csproj', '.dbproj', '.fsproj', '.pyproj', '.rbproj', '.vbproj', '.vcxproj', '.wixproj', '.resx', '.sln', '.vdproj', '.isproj'].include?(extname)
end
# Internal: Is the blob minified JS?
#
# Consider JS minified if the average line length is