File tree 3 files changed +9
-16
lines changed
3 files changed +9
-16
lines changed Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env sh
2
2
CARTHAGE_VERSION=$( carthage version)
3
- if [[ $CARTHAGE_VERSION < 0.11.0 || $CARTHAGE_VERSION > 0.11.0 ]]; then
4
- echo " Carthage requires upgrade "
3
+ if which carthage ==/dev/null || [[ $CARTHAGE_VERSION < 0.11.0 || $CARTHAGE_VERSION > 0.11.0 ]]; then
4
+ echo " Installing Carthage 0.11 "
5
5
brew update
6
6
brew install https://github.com/Carthage/Carthage/releases/tag/0.11
7
7
fi
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env sh
2
- if which carthage > /dev/null; then
3
- ./carthage.sh
4
- carthage bootstrap --platform ios --no-use-binaries
5
- else
6
- echo " \" carthage\" not found. please install with the following command:"
7
- echo " \t brew update && brew install carthage"
8
- fi
2
+
3
+ ./carthage.sh
4
+
5
+ carthage bootstrap --platform ios --no-use-binaries
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env sh
2
- if which carthage > /dev/null; then
3
- ./carthage.sh
4
2
5
- carthage update --platform ios --no-use-binaries
6
- else
7
- echo " \" carthage\" not found. please install with the following command:"
8
- echo " \t brew update && brew install carthage"
9
- fi
3
+ ./carthage.sh
4
+
5
+ carthage update --platform ios --no-use-binaries
You can’t perform that action at this time.
0 commit comments