Detect Visual Studio project files, solution files and resource files as generated

This commit is contained in:
Joris den Ouden
2011-07-26 20:00:35 +02:00
parent cadb3544eb
commit d0824ee3b2
2 changed files with 14 additions and 1 deletions

View File

@@ -178,7 +178,7 @@ module Linguist
#
# Return true or false
def generated?
if ['.xib', '.nib', '.pbxproj', '.xcworkspacedata', '.xcuserstate'].include?(extname)
if ['.xib', '.nib', '.pbxproj', '.xcworkspacedata', '.xcuserstate', '.csproj', '.dbproj', '.fsproj', '.pyproj', '.rbproj', '.vbproj', '.vcxproj', '.wixproj', '.resx', '.sln', '.vdproj', '.isproj'].include?(extname)
true
elsif generated_coffeescript? || minified_javascript?
true