File tree Expand file tree Collapse file tree 3 files changed +13
-7
lines changed Expand file tree Collapse file tree 3 files changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,10 @@ LANE_NAME="${1:-test}"
66echo " --- :rubygems: Setting up Gems"
77install_gems
88
9- echo " --- :cocoapods: Setting up Pods"
10- install_cocoapods
9+ if [ -f " Podfile.lock" ]; then
10+ echo " --- :cocoapods: Setting up Pods"
11+ install_cocoapods
12+ fi
1113
1214echo " --- :test_tube: Building and Running Tests"
1315
Original file line number Diff line number Diff line change 11#! /bin/bash -eu
22
33echo " --- :rubygems: Setting up Gems"
4- bundle install
4+ install_gems
55
66echo " --- :rubygems: Checking Gemfile.lock"
77validate_gemfile_lock
88
99echo " --- :rubocop: Running Rubocop"
1010bundle exec rubocop
1111
12- echo " --- :cocoapods: Checking Podfile.lock"
13- validate_podfile_lock
12+ if [ -f " Podfile.lock" ]; then
13+ echo " --- :cocoapods: Checking Podfile.lock"
14+ validate_podfile_lock
15+ fi
1416
1517# TODO: Add swiftlint
Original file line number Diff line number Diff line change 33echo " --- :rubygems: Setting up Gems"
44install_gems
55
6- echo " --- :cocoapods: Setting up Pods"
7- install_cocoapods
6+ if [ -f " Podfile.lock" ]; then
7+ echo " --- :cocoapods: Setting up Pods"
8+ install_cocoapods
9+ fi
810
911echo " --- :microscope: Validate Podspec"
1012# For some reason this fixes a failure in `lib lint`
You can’t perform that action at this time.
0 commit comments