Add Cocoapods to generated list so it doesn't show in PR diffs (#3865)

* Add Cocoapods to generated list so it doesn't show in PR diffs

* Removed Cocoapods from vendor.yml

* Enhance regex to match only Cocoapod's Pods folder

* Adds additional test cases for generated Pods folder
This commit is contained in:
Shai Mishali
2017-11-28 13:04:18 +02:00
committed by Colin Seymour
parent c5d1bb5370
commit ded0dc74e0
4 changed files with 22 additions and 6 deletions

View File

@@ -188,6 +188,10 @@ class TestFileBlob < Minitest::Test
assert fixture_blob("Binary/MainMenu.nib").generated?
assert !sample_blob("XML/project.pbxproj").generated?
# Cocoapods
assert sample_blob('Pods/blah').generated?
assert !sample_blob('My-Pods/blah').generated?
# Gemfile.lock is NOT generated
assert !sample_blob("Gemfile.lock").generated?
@@ -489,9 +493,6 @@ class TestFileBlob < Minitest::Test
# Carthage
assert sample_blob('Carthage/blah').vendored?
# Cocoapods
assert sample_blob('Pods/blah').vendored?
# Html5shiv
assert sample_blob("Scripts/html5shiv.js").vendored?
assert sample_blob("Scripts/html5shiv.min.js").vendored?