fix carthage retry

This commit is contained in:
Ivan Smolin 2020-01-23 12:55:44 +03:00
parent b2a07d79c3
commit d9d0a6034f
1 changed files with 7 additions and 9 deletions

View File

@ -36,15 +36,13 @@ private_lane :installDependencies do |options|
end
end
carthage_install.call
# begin
# rescue
# # workaround for https://github.com/Carthage/Carthage/issues/2298
# sh("rm -rf ~/Library/Caches/org.carthage.CarthageKit")
# carthage_install()
# end
begin
carthage_install.call
rescue
# workaround for https://github.com/Carthage/Carthage/issues/2298
sh("rm -rf ~/Library/Caches/org.carthage.CarthageKit")
carthage_install.call
end
end
end