Index: deploy/carthage-bootstrap.sh |
diff --git a/deploy/carthage-bootstrap.sh b/deploy/carthage-bootstrap.sh |
deleted file mode 100755 |
index 7ff15ddbba54b57282bcf57135cca0af80e61669..0000000000000000000000000000000000000000 |
--- a/deploy/carthage-bootstrap.sh |
+++ /dev/null |
@@ -1,21 +0,0 @@ |
-#!/bin/sh |
- |
-# CircleCI Carthage build caching, per idea at |
-# https://robots.thoughtbot.com/caching-carthage-con-circleci |
-# |
-# Cartfile.resolved is a checksum of successful "carthage checkout" or "carthage bootstrap" |
-# It is recommended to commit in repo. On the other hand, it is NOT recommended to commit |
-# the checkout folder Carthage/ much the same way as Pods/ or node_modules/. However, there is |
-# no problem with having the folder CACHED, which means that it persists on CCI side. |
-# So if it's desirable to update it only as needed: |
-# 0. cache Carthage/ subdir on CCI side |
-# 1. compare the commited latest Cartfile.resolved with a copy under Carthage/ |
-# 2. if not equal, redo checkout and build (i.e. bootstrap) |
-# 3. replace Cartfile.resolved in Carthage/ |
-# |
-if ! cmp -s Cartfile.resolved Carthage/Cartfile.resolved; then |
- carthage bootstrap --platform iOS --toolchain com.apple.dt.toolchain.XcodeDefault --no-use-binaries |
- cp Cartfile.resolved Carthage |
-else |
- echo "Cartfile.resolved up to date, bootstrap not needed" |
-fi |