mirror of
https://github.com/KevinMidboe/linguist.git
synced 2026-01-02 07:26:18 +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 ##
|
## Obj-C ##
|
||||||
|
|
||||||
|
# Xcode
|
||||||
|
|
||||||
|
- \.xctemplate/
|
||||||
|
- \.imageset/
|
||||||
|
|
||||||
# Carthage
|
# Carthage
|
||||||
- ^Carthage/
|
- ^Carthage/
|
||||||
|
|
||||||
|
|||||||
@@ -513,6 +513,11 @@ class TestBlob < Minitest::Test
|
|||||||
|
|
||||||
# Crashlytics
|
# Crashlytics
|
||||||
assert sample_blob("Crashlytics.framework/Crashlytics.h").vendored?
|
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
|
end
|
||||||
|
|
||||||
def test_documentation
|
def test_documentation
|
||||||
|
|||||||
Reference in New Issue
Block a user