mirror of
				https://github.com/KevinMidboe/linguist.git
				synced 2025-10-29 17:50:22 +00:00 
			
		
		
		
	Merge pull request #2591 from jtbandes/master
Vendored definitions for Xcode-related files
This commit is contained in:
		@@ -195,6 +195,11 @@
 | 
			
		||||
 | 
			
		||||
## Obj-C ##
 | 
			
		||||
 | 
			
		||||
# Xcode
 | 
			
		||||
 | 
			
		||||
- \.xctemplate/
 | 
			
		||||
- \.imageset/
 | 
			
		||||
 | 
			
		||||
# Carthage
 | 
			
		||||
- ^Carthage/
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -513,6 +513,11 @@ class TestBlob < Minitest::Test
 | 
			
		||||
 | 
			
		||||
    # Crashlytics
 | 
			
		||||
    assert sample_blob("Crashlytics.framework/Crashlytics.h").vendored?
 | 
			
		||||
    
 | 
			
		||||
    # Xcode
 | 
			
		||||
    assert sample_blob("myapp/My Template.xctemplate/___FILEBASENAME___.h").vendored?
 | 
			
		||||
    assert sample_blob("myapp/My Images.xcassets/some/stuff.imageset/Contents.json").vendored?
 | 
			
		||||
    assert !sample_blob("myapp/MyData.json").vendored?
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  def test_documentation
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user