don't run carthage for projects without it

This commit is contained in:
Ivan Smolin 2019-02-20 17:02:16 +03:00
parent c6a3b3a01b
commit a039f4b4c3
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,