diff options
| author | ruki <[email protected]> | 2019-01-02 23:50:15 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-01-02 23:50:15 +0800 |
| commit | 8f587d43f45121d12264ca861e4920b5957d13cd (patch) | |
| tree | 204ea5135857be28521d3b89f8979f8e2f65d92a | |
| parent | 838ffd07819b43acfd2d9b6f71e32d30e3bdfc00 (diff) | |
clear progress style in object.lua
| -rw-r--r-- | xmake/actions/build/kinds/object.lua | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/xmake/actions/build/kinds/object.lua b/xmake/actions/build/kinds/object.lua index d370535cc..d66807363 100644 --- a/xmake/actions/build/kinds/object.lua +++ b/xmake/actions/build/kinds/object.lua @@ -41,9 +41,9 @@ function _build_from_object(target, sourcefile, objectfile, progress) -- trace progress info if verbose then - cprint("${color.build.progress}[%3d%%]: ${color.build.object.verbose}inserting.$(mode) %s", progress, sourcefile) + cprint("${color.build.progress}[%3d%%]: ${clear}${color.build.object.verbose}inserting.$(mode) %s", progress, sourcefile) else - cprint("${color.build.progress}[%3d%%]: ${color.build.object}inserting.$(mode) %s", progress, sourcefile) + cprint("${color.build.progress}[%3d%%]: ${clear}${color.build.object}inserting.$(mode) %s", progress, sourcefile) end -- trace verbose info @@ -66,9 +66,9 @@ function _build_from_static(target, sourcefile, objectfile, progress) -- trace progress info if verbose then - cprint("${color.build.progress}[%3d%%]: ${color.build.object.verbose}inserting.$(mode) %s", progress, sourcefile) + cprint("${color.build.progress}[%3d%%]: ${clear}${color.build.object.verbose}inserting.$(mode) %s", progress, sourcefile) else - cprint("${color.build.progress}[%3d%%]: ${color.build.object}inserting.$(mode) %s", progress, sourcefile) + cprint("${color.build.progress}[%3d%%]: ${clear}${color.build.object}inserting.$(mode) %s", progress, sourcefile) end -- trace verbose info @@ -120,9 +120,9 @@ function _do_build_file(target, sourcefile, opt) -- trace progress info if verbose then - cprint("${color.build.progress}[%3d%%]:${color.build.object.verbose} %scompiling.$(mode) %s", progress, _g.ccache and "ccache " or "", sourcefile) + cprint("${color.build.progress}[%3d%%]:${clear}${color.build.object.verbose} %scompiling.$(mode) %s", progress, _g.ccache and "ccache " or "", sourcefile) else - cprint("${color.build.progress}[%3d%%]:${color.build.object} %scompiling.$(mode) %s", progress, _g.ccache and "ccache " or "", sourcefile) + cprint("${color.build.progress}[%3d%%]:${clear}${color.build.object} %scompiling.$(mode) %s", progress, _g.ccache and "ccache " or "", sourcefile) end -- trace verbose info |
