diff options
| author | ruki <[email protected]> | 2019-01-02 22:57:59 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-01-02 11:47:59 +0800 |
| commit | 9c4e0ba825b9035236fe063daf6e5dbfbe20ca04 (patch) | |
| tree | c1876a147ecfaaeb34fd976569b5e18812722ccd /xmake/rules/wdk | |
| parent | f4ba9c2b6f85ce5d8b959714d8beaae9f03e4fe0 (diff) | |
fix color.build.progress style
Diffstat (limited to 'xmake/rules/wdk')
| -rw-r--r-- | xmake/rules/wdk/inf/xmake.lua | 4 | ||||
| -rw-r--r-- | xmake/rules/wdk/man/xmake.lua | 4 | ||||
| -rw-r--r-- | xmake/rules/wdk/mc/xmake.lua | 4 | ||||
| -rw-r--r-- | xmake/rules/wdk/mof/xmake.lua | 4 | ||||
| -rw-r--r-- | xmake/rules/wdk/sign/xmake.lua | 2 | ||||
| -rw-r--r-- | xmake/rules/wdk/tracewpp/xmake.lua | 4 |
6 files changed, 11 insertions, 11 deletions
diff --git a/xmake/rules/wdk/inf/xmake.lua b/xmake/rules/wdk/inf/xmake.lua index 46ab5edc1..b905bc69f 100644 --- a/xmake/rules/wdk/inf/xmake.lua +++ b/xmake/rules/wdk/inf/xmake.lua @@ -95,9 +95,9 @@ rule("wdk.inf") -- trace progress info if option.get("verbose") then - cprint("${green}[%3d%%]:${dim} compiling.wdk.inf %s", opt.progress, sourcefile) + cprint("${color.build.progress}[%3d%%]:${dim} compiling.wdk.inf %s", opt.progress, sourcefile) else - cprint("${green}[%3d%%]:${clear} compiling.wdk.inf %s", opt.progress, sourcefile) + cprint("${color.build.progress}[%3d%%]:${clear} compiling.wdk.inf %s", opt.progress, sourcefile) end -- get stampinf diff --git a/xmake/rules/wdk/man/xmake.lua b/xmake/rules/wdk/man/xmake.lua index 5f3878074..e8bdeb8b5 100644 --- a/xmake/rules/wdk/man/xmake.lua +++ b/xmake/rules/wdk/man/xmake.lua @@ -125,9 +125,9 @@ rule("wdk.man") -- trace progress info if option.get("verbose") then - cprint("${green}[%3d%%]:${dim} compiling.wdk.man %s", opt.progress, sourcefile) + cprint("${color.build.progress}[%3d%%]:${dim} compiling.wdk.man %s", opt.progress, sourcefile) else - cprint("${green}[%3d%%]:${clear} compiling.wdk.man %s", opt.progress, sourcefile) + cprint("${color.build.progress}[%3d%%]:${clear} compiling.wdk.man %s", opt.progress, sourcefile) end -- generate header and resource file diff --git a/xmake/rules/wdk/mc/xmake.lua b/xmake/rules/wdk/mc/xmake.lua index 3018db926..438bd83f9 100644 --- a/xmake/rules/wdk/mc/xmake.lua +++ b/xmake/rules/wdk/mc/xmake.lua @@ -105,9 +105,9 @@ rule("wdk.mc") -- trace progress info if option.get("verbose") then - cprint("${green}[%3d%%]:${dim} compiling.wdk.mc %s", opt.progress, sourcefile) + cprint("${color.build.progress}[%3d%%]:${dim} compiling.wdk.mc %s", opt.progress, sourcefile) else - cprint("${green}[%3d%%]:${clear} compiling.wdk.mc %s", opt.progress, sourcefile) + cprint("${color.build.progress}[%3d%%]:${clear} compiling.wdk.mc %s", opt.progress, sourcefile) end -- do message compile diff --git a/xmake/rules/wdk/mof/xmake.lua b/xmake/rules/wdk/mof/xmake.lua index ea0cf7938..ca31e6eab 100644 --- a/xmake/rules/wdk/mof/xmake.lua +++ b/xmake/rules/wdk/mof/xmake.lua @@ -115,9 +115,9 @@ rule("wdk.mof") -- trace progress info if option.get("verbose") then - cprint("${green}[%3d%%]:${dim} compiling.wdk.mof %s", opt.progress, sourcefile) + cprint("${color.build.progress}[%3d%%]:${dim} compiling.wdk.mof %s", opt.progress, sourcefile) else - cprint("${green}[%3d%%]:${clear} compiling.wdk.mof %s", opt.progress, sourcefile) + cprint("${color.build.progress}[%3d%%]:${clear} compiling.wdk.mof %s", opt.progress, sourcefile) end -- ensure the output directory diff --git a/xmake/rules/wdk/sign/xmake.lua b/xmake/rules/wdk/sign/xmake.lua index 6daa68732..ea9241664 100644 --- a/xmake/rules/wdk/sign/xmake.lua +++ b/xmake/rules/wdk/sign/xmake.lua @@ -115,7 +115,7 @@ rule("wdk.sign") target:data_add("wdk.cleanfiles", {tempfile, dependfile}) -- trace progress info - cprintf("${green}[%3d%%]:${clear} ", opt.progress) + cprintf("${color.build.progress}[%3d%%]:${clear} ", opt.progress) if option.get("verbose") then cprint("${dim magenta}signing.%s %s", signmode, path.filename(target:targetfile())) else diff --git a/xmake/rules/wdk/tracewpp/xmake.lua b/xmake/rules/wdk/tracewpp/xmake.lua index 6a93c88c8..094807dee 100644 --- a/xmake/rules/wdk/tracewpp/xmake.lua +++ b/xmake/rules/wdk/tracewpp/xmake.lua @@ -103,9 +103,9 @@ rule("wdk.tracewpp") -- trace progress info if option.get("verbose") then - cprint("${green}[%3d%%]:${dim} compiling.wdk.tracewpp %s", opt.progress, sourcefile) + cprint("${color.build.progress}[%3d%%]:${dim} compiling.wdk.tracewpp %s", opt.progress, sourcefile) else - cprint("${green}[%3d%%]:${clear} compiling.wdk.tracewpp %s", opt.progress, sourcefile) + cprint("${color.build.progress}[%3d%%]:${clear} compiling.wdk.tracewpp %s", opt.progress, sourcefile) end -- ensure the output directory |
