File tree Expand file tree Collapse file tree 3 files changed +29
-0
lines changed Expand file tree Collapse file tree 3 files changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,13 @@ if [ -f "Podfile.lock" ]; then
1111 install_cocoapods
1212fi
1313
14+ if [ -f " Example/Podfile.lock" ]; then
15+ cd Example
16+ echo " --- :cocoapods: Setting up Pods"
17+ install_cocoapods
18+ cd -
19+ fi
20+
1421echo " --- :test_tube: Building and Running Tests"
1522
1623# For some reason this fixes a failure in `lib lint`
Original file line number Diff line number Diff line change 1+ #! /bin/bash -eu
2+
3+ PR_MESSAGE_FILE=$1
4+
5+ if ! command -v gh & > /dev/null; then
6+ brew install gh
7+ fi
8+
9+ gh auth login
10+ gh pr comment --body-file $PR_MESSAGE_FILE
Original file line number Diff line number Diff line change 1+ #! /bin/bash -eu
2+
3+ sudo defaults write com.apple.dt.Xcode IDEPackageSupportUseBuiltinSCM YES
4+
5+ # Trust all GitHub.com and BitBucket.org keys – this allows checking out dependencies via SSH
6+ for ip in $( dig @8.8.8.8 bitbucket.org +short) ; do ssh-keyscan bitbucket.org,$ip ; ssh-keyscan $ip ; done 2> /dev/null >> ~ /.ssh/known_hosts || true
7+ echo " :bitbucket: Added BitBucket IP Addresses to known_hosts"
8+
9+ for ip in $( dig @8.8.8.8 github.com +short) ; do ssh-keyscan github.com,$ip ; ssh-keyscan $ip ; done 2> /dev/null >> ~ /.ssh/known_hosts || true
10+ echo " :github: Added GitHub IP Addresses to known_hosts"
11+
12+ xcodebuild -resolvePackageDependencies
You can’t perform that action at this time.
0 commit comments