Vendored definitions for Xcode-related files

This commit is contained in:
Jacob Bandes-Storch
2015-08-25 23:19:09 -07:00
parent 1241b20ba1
commit a2ca886510
2 changed files with 10 additions and 0 deletions

View File

@@ -164,6 +164,11 @@
## Obj-C ##
# Xcode
- \.xctemplate/
- \.imageset/
# Carthage
- ^Carthage/

View File

@@ -492,6 +492,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