diff options
Diffstat (limited to 'xmake/rules/xcode/framework/xmake.lua')
| -rw-r--r-- | xmake/rules/xcode/framework/xmake.lua | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/xmake/rules/xcode/framework/xmake.lua b/xmake/rules/xcode/framework/xmake.lua index 46bbf6476..192755729 100644 --- a/xmake/rules/xcode/framework/xmake.lua +++ b/xmake/rules/xcode/framework/xmake.lua @@ -85,6 +85,7 @@ rule("xcode.framework") import("core.theme.theme") import("core.project.depend") import("private.tools.codesign") + import("private.utils.progress") -- get framework directory local bundledir = path.absolute(target:data("xcode.bundle.rootdir")) @@ -100,12 +101,7 @@ rule("xcode.framework") 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.xcode.$(mode) %s", path.filename(bundledir)) - else - cprint("${color.build.target}generating.xcode.$(mode) %s", path.filename(bundledir)) - end + progress.show(opt.progress, "${color.build.target}generating.xcode.$(mode) %s", path.filename(bundledir)) -- copy target file if not os.isdir(contentsdir) then |
