summaryrefslogtreecommitdiff
path: root/xmake/rules/qt/deploy/macosx.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-05-30 23:34:23 +0800
committerruki <[email protected]>2020-05-30 23:34:23 +0800
commitf432fd004a28db20d312fb68dfd10734ba7a2295 (patch)
treef3b9f0f34394f76fc1b1fef143d1a752c7a45533 /xmake/rules/qt/deploy/macosx.lua
parentd50200be0abb94e7e627e7a25b5bab65d420eb16 (diff)
improve to show progress
Diffstat (limited to 'xmake/rules/qt/deploy/macosx.lua')
-rw-r--r--xmake/rules/qt/deploy/macosx.lua8
1 files changed, 2 insertions, 6 deletions
diff --git a/xmake/rules/qt/deploy/macosx.lua b/xmake/rules/qt/deploy/macosx.lua
index b0a3c08a5..bbefe38ee 100644
--- a/xmake/rules/qt/deploy/macosx.lua
+++ b/xmake/rules/qt/deploy/macosx.lua
@@ -24,6 +24,7 @@ import("core.base.option")
import("core.project.config")
import("core.project.depend")
import("lib.detect.find_path")
+import("private.utils.progress")
-- save Info.plist
function _save_info_plist(target, info_plist_file)
@@ -74,12 +75,7 @@ function main(target, opt)
end
-- trace progress info
- cprintf("${color.build.progress}" .. theme.get("text.build.progress_format") .. ":${clear} ", opt.progress)
- if option.get("verbose") then
- cprint("${dim color.build.target}generating.qt.app %s.app", target:basename())
- else
- cprint("${color.build.target}generating.qt.app %s.app", target:basename())
- end
+ progress.show(opt.progress, "${color.build.target}generating.qt.app %s.app", target:basename())
-- get qt sdk
local qt = target:data("qt")