diff options
| author | ruki <[email protected]> | 2019-03-23 00:00:03 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-03-22 18:00:23 +0800 |
| commit | a66986b065d78a10742c7c66972d80d1a62e4dd5 (patch) | |
| tree | 1ba0692f0e21e2d22e6106e984d4c3d4da9b272b /xmake/actions/require/impl/package.lua | |
| parent | 5e51c424ee38c60ef7a57bd2b03283bc5f0eb0e6 (diff) | |
modify show colors
Diffstat (limited to 'xmake/actions/require/impl/package.lua')
| -rw-r--r-- | xmake/actions/require/impl/package.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xmake/actions/require/impl/package.lua b/xmake/actions/require/impl/package.lua index a6567fc2d..29651c9d2 100644 --- a/xmake/actions/require/impl/package.lua +++ b/xmake/actions/require/impl/package.lua @@ -436,12 +436,12 @@ function _get_confirm(packages) local group = package:group() if group and packages_group[group] and #packages_group[group] > 1 then for idx, package_in_group in ipairs(packages_group[group]) do - cprint(" %s ${magenta}%s-%s${clear} %s", idx == 1 and "->" or " or", package_in_group:name(), package_in_group:version_str() or "", package_in_group:debug() and "(debug)" or "") + cprint(" %s ${bright}%s-%s${clear} %s", idx == 1 and "->" or " or", package_in_group:name(), package_in_group:version_str() or "", package_in_group:debug() and "(debug)" or "") packages_showed[tostring(package_in_group)] = true end packages_group[group] = nil else - cprint(" -> ${magenta}%s-%s${clear} %s", package:name(), package:version_str() or "", package:debug() and "(debug)" or "") + cprint(" -> ${bright}%s-%s${clear} %s", package:name(), package:version_str() or "", package:debug() and "(debug)" or "") packages_showed[tostring(package)] = true end end @@ -570,10 +570,10 @@ function _install_packages(packages_install, packages_download) cprintf("\r${yellow} => ${clear}installing %s .. %s", table.concat(installing, ", "), waitchars[waitindex + 1]) cprintf("\r${yellow} => ${clear}") if #downloading > 0 then - cprintf("downloading ${magenta}%s${clear}", table.concat(downloading, ", ")) + cprintf("downloading ${yellow}%s${clear}", table.concat(downloading, ", ")) end if #installing > 0 then - cprintf("%sinstalling ${magenta}%s${clear}", #downloading > 0 and ", " or "", table.concat(installing, ", ")) + cprintf("%sinstalling ${yellow}%s${clear}", #downloading > 0 and ", " or "", table.concat(installing, ", ")) end cprintf(" .. %s", waitchars[waitindex + 1]) io.flush() |
