Skip to content

Commit c806f76

Browse files
committed
improve package tips
1 parent fb0574d commit c806f76

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

xmake/modules/private/action/require/impl/install_packages.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -764,7 +764,8 @@ function _install_packages(requires, opt)
764764
table.insert(packages_unsupported_maps[key], instance)
765765
end
766766
for key, instances in pairs(packages_unsupported_maps) do
767-
cprint("${bright color.warning}note: ${clear}the following packages are unsupported on %s:", key)
767+
cprint("${bright color.warning}note: ${clear}the following packages are unsupported on %s,", key)
768+
cprint("${clear}you can try running ${bright}`xrepo update-repo`${clear} to update repositories or open a pr to improve these packages:")
768769
for _, instance in ipairs(instances) do
769770
cprint(" ${yellow}->${clear} %s %s ${dim}%s",
770771
instance:displayname(), instance:version_str() or "", package.get_configs_str(instance))

0 commit comments

Comments
 (0)