summaryrefslogtreecommitdiff
path: root/xmake/modules/private/action/build/target.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2025-10-30 00:59:51 +0800
committerruki <[email protected]>2025-10-30 00:59:51 +0800
commitf79809d802ec7a34656ac1991128c192822fc78c (patch)
treedfec5b4250c3e1f646de57db86f2d73678371acc /xmake/modules/private/action/build/target.lua
parent291738879dc7a14540121a7f595124b683d2f8b5 (diff)
improve progress spent time
Diffstat (limited to 'xmake/modules/private/action/build/target.lua')
-rw-r--r--xmake/modules/private/action/build/target.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmake/modules/private/action/build/target.lua b/xmake/modules/private/action/build/target.lua
index 19d4db853..315feab61 100644
--- a/xmake/modules/private/action/build/target.lua
+++ b/xmake/modules/private/action/build/target.lua
@@ -787,8 +787,8 @@ function run_targetjobs(targets_root, opt)
local curdir = os.curdir()
async_runjobs(job_kind, jobgraph, {on_exit = function (errors)
import("utils.progress")
- if errors and progress.showing_without_scroll() then
- print("")
+ if errors then
+ progress.show_output("")
end
end,
comax = opt.jobs or option.get("jobs") or 1, curdir = curdir,
@@ -807,8 +807,8 @@ function run_filejobs(targets_root, opt)
local curdir = os.curdir()
async_runjobs(job_kind, jobgraph, {on_exit = function (errors)
import("utils.progress")
- if errors and progress.showing_without_scroll() then
- print("")
+ if errors then
+ progress.show_output("")
end
end,
comax = opt.jobs or option.get("jobs") or 1, curdir = curdir,