File tree Expand file tree Collapse file tree 2 files changed +24
-7
lines changed Expand file tree Collapse file tree 2 files changed +24
-7
lines changed Original file line number Diff line number Diff line change 1
1
osx_image : xcode7
2
2
language : objective-c
3
+ matrix :
4
+ include :
5
+ - osx_image : xcode7
6
+ env : SCHEME="ObjectiveGit Mac"
7
+ - osx_image : xcode7
8
+ env : SCHEME="ObjectiveGit iOS"
3
9
before_install :
4
10
- brew update
5
11
- brew outdated xctool || brew upgrade xctool
Original file line number Diff line number Diff line change @@ -62,14 +62,19 @@ main ()
62
62
" $BOOTSTRAP " || exit $?
63
63
fi
64
64
65
- echo " *** Prebuilding OpenSSL"
66
- $SCRIPT_DIR /update_libssl_ios
65
+ if [ " $SCHEME " == " ObjectiveGit iOS" ]
66
+ then
67
+ echo " *** Prebuilding OpenSSL"
68
+ $SCRIPT_DIR /update_libssl_ios
69
+ fi
67
70
68
- echo " *** The following schemes will be built:"
69
- echo " $SCHEMES " | xargs -n 1 echo " "
70
- echo
71
+ if [ -z " ${SCHEME+x} " ] && [ " ${# SCHEME[@]} " = 0 ]
72
+ then
73
+ echo " *** The following schemes will be built:"
74
+ echo " $SCHEMES " | xargs -n 1 echo " "
75
+ echo
71
76
72
- echo " $SCHEMES " | xargs -n 1 | (
77
+ echo " $SCHEMES " | xargs -n 1 | (
73
78
local status=0
74
79
75
80
while read scheme
@@ -78,7 +83,13 @@ main ()
78
83
done
79
84
80
85
exit $status
81
- )
86
+ )
87
+ else
88
+ echo " *** The following scheme will be built $SCHEME "
89
+ local status=0
90
+ build_scheme " $SCHEME " || status=1
91
+ exit $status
92
+ fi
82
93
}
83
94
84
95
find_pattern ()
You can’t perform that action at this time.
0 commit comments