Merge pull request #93 from TouchInstinct/feature/fix_carthage

Don't run carthage if there is no Cartfile
This commit is contained in:
Ivan Smolin 2019-03-22 16:48:14 +03:00 committed by GitHub
commit 8bbbf9f01f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -10,7 +10,9 @@ before_all do |lane, options|
sh("rm -rf #{podsReposPath}")
end
carthage(platform: "iOS")
if File.exists? "../Cartfile"
carthage(platform: "iOS")
end
cocoapods(
clean: true,