summaryrefslogtreecommitdiff
path: root/xmake/actions/require/impl/package.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2019-03-23 00:02:43 +0800
committerruki <[email protected]>2019-03-22 18:16:22 +0800
commite2a1d5aecc30f5e20bcfa09caaa7d52046044232 (patch)
tree77faa5a1086de653c1d8258ca8c85cd57bc3d79f /xmake/actions/require/impl/package.lua
parenta66986b065d78a10742c7c66972d80d1a62e4dd5 (diff)
modify colors for package
Diffstat (limited to 'xmake/actions/require/impl/package.lua')
-rw-r--r--xmake/actions/require/impl/package.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmake/actions/require/impl/package.lua b/xmake/actions/require/impl/package.lua
index 29651c9d2..29c408336 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 ${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 "")
+ cprint(" ${yellow}%s${clear} %s %s %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(" -> ${bright}%s-%s${clear} %s", package:name(), package:version_str() or "", package:debug() and "(debug)" or "")
+ cprint(" ${yellow}->${clear} %s %s %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 ${yellow}%s${clear}", table.concat(downloading, ", "))
+ cprintf("downloading ${magenta}%s${clear}", table.concat(downloading, ", "))
end
if #installing > 0 then
- cprintf("%sinstalling ${yellow}%s${clear}", #downloading > 0 and ", " or "", table.concat(installing, ", "))
+ cprintf("%sinstalling ${magenta}%s${clear}", #downloading > 0 and ", " or "", table.concat(installing, ", "))
end
cprintf(" .. %s", waitchars[waitindex + 1])
io.flush()