Skip to content

Commit

Permalink
dot?
Browse files Browse the repository at this point in the history
  • Loading branch information
BB9z committed Jan 19, 2024
1 parent 2120a9a commit c1c982f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build-ios
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ logInfo "[Xcode] Building..."
if [[ -n $XC_LOG_FILE ]]; then
# logInfo "Log file: $XC_LOG_FILE"
prepeareResultFile "$XC_LOG_FILE"
xcCommand build | showProgress || {
xcCommand build || {
logError "[Xcode] Build failed:"
tail -n 50 "$XC_LOG_FILE"
exit 1
Expand Down
3 changes: 1 addition & 2 deletions lib/foundation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,8 @@ showProgress() {
dots=0
fi

last_print_time=$current_time

if [[ $dots -lt 80 ]]; then
last_print_time=$current_time
printf "."
dots+=1
fi
Expand Down
2 changes: 1 addition & 1 deletion lib/xccommand.sh
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ _xcChain3() {

if [[ -n "${logParts}" ]]; then
_XC_COMMANDS=("|" "${logParts[@]}" "${_XC_COMMANDS[@]}")
_xcChain2 | "${logParts[@]}"
_xcChain2 | "${logParts[@]}" | showProgress
else
_xcChain2
fi
Expand Down

0 comments on commit c1c982f

Please sign in to comment.