Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: deploy/carthage-bootstrap.sh

Issue 29720604: Issue 6405 - Remove CircleCI refs. (Closed)
Patch Set: Created March 12, 2018, 3:21 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « deploy/build.sh ('k') | deploy/checkout-core.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « deploy/build.sh ('k') | deploy/checkout-core.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld