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 11osx_image : xcode7
22language : objective-c
3+ matrix :
4+ include :
5+ - osx_image : xcode7
6+ env : SCHEME="ObjectiveGit Mac"
7+ - osx_image : xcode7
8+ env : SCHEME="ObjectiveGit iOS"
39before_install :
410 - brew update
511 - brew outdated xctool || brew upgrade xctool
Original file line number Diff line number Diff line change @@ -62,14 +62,19 @@ main ()
6262 " $BOOTSTRAP " || exit $?
6363 fi
6464
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
6770
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
7176
72- echo " $SCHEMES " | xargs -n 1 | (
77+ echo " $SCHEMES " | xargs -n 1 | (
7378 local status=0
7479
7580 while read scheme
@@ -78,7 +83,13 @@ main ()
7883 done
7984
8085 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
8293}
8394
8495find_pattern ()
You can’t perform that action at this time.
0 commit comments