From a039f4b4c3d64fc358cbb5332df355929746a20c Mon Sep 17 00:00:00 2001 From: Ivan Smolin Date: Wed, 20 Feb 2019 17:02:16 +0300 Subject: [PATCH 1/2] don't run carthage for projects without it --- xcode/commonFastfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xcode/commonFastfile b/xcode/commonFastfile index d03a2f0..5374685 100644 --- a/xcode/commonFastfile +++ b/xcode/commonFastfile @@ -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, From 13bef27dbf98e170493d316cf700ecc9ddc2c071 Mon Sep 17 00:00:00 2001 From: Ivan Smolin Date: Fri, 22 Mar 2019 16:38:59 +0300 Subject: [PATCH 2/2] fix path --- xcode/commonFastfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xcode/commonFastfile b/xcode/commonFastfile index 5374685..53347e0 100644 --- a/xcode/commonFastfile +++ b/xcode/commonFastfile @@ -10,7 +10,7 @@ before_all do |lane, options| sh("rm -rf #{podsReposPath}") end - if File.exists? "Cartfile" + if File.exists? "../Cartfile" carthage(platform: "iOS") end