File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -113,6 +113,7 @@ function RunXcodebuild() {
113
113
114
114
result=0
115
115
xcodebuild " $@ " | tee xcodebuild.log | " ${xcpretty_cmd[@]} " || result=$?
116
+
116
117
if [[ $result == 65 ]]; then
117
118
ExportLogs " $@ "
118
119
@@ -122,12 +123,12 @@ function RunXcodebuild() {
122
123
result=0
123
124
xcodebuild " $@ " | tee xcodebuild.log | " ${xcpretty_cmd[@]} " || result=$?
124
125
fi
125
- if [[ $result != 0 ]]; then
126
126
127
+ if [[ $result != 0 ]]; then
127
128
echo " xcodebuild exited with $result ; raw log follows" 1>&2
128
- OpenFold Raw log
129
+ # OpenFold Raw log
129
130
cat xcodebuild.log
130
- CloseFold
131
+ # CloseFold
131
132
132
133
ExportLogs " $@ "
133
134
return $result
@@ -136,12 +137,12 @@ function RunXcodebuild() {
136
137
137
138
# Exports any logs output captured in the xcresult
138
139
function ExportLogs() {
139
- OpenFold XCResult
140
+ # OpenFold XCResult
140
141
141
142
exporter=" ${scripts_dir} /xcresult_logs.py"
142
143
python " $exporter " " $@ "
143
144
144
- CloseFold
145
+ # CloseFold
145
146
}
146
147
147
148
current_group=none
You can’t perform that action at this time.
0 commit comments