mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Merge pull request #47 from jonsterling/detect-xcode4
Detect .xcworkspacedata and .xcuserstate files as generated
This commit is contained in:
@@ -178,7 +178,7 @@ module Linguist
|
|||||||
#
|
#
|
||||||
# Return true or false
|
# Return true or false
|
||||||
def generated?
|
def generated?
|
||||||
if ['.xib', '.nib', '.pbxproj'].include?(extname)
|
if ['.xib', '.nib', '.pbxproj', '.xcworkspacedata', '.xcuserstate'].include?(extname)
|
||||||
true
|
true
|
||||||
elsif generated_coffeescript? || minified_javascript?
|
elsif generated_coffeescript? || minified_javascript?
|
||||||
true
|
true
|
||||||
|
|||||||
Reference in New Issue
Block a user