diff options
| author | ruki <[email protected]> | 2025-10-08 23:02:21 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-10-08 12:14:37 +0800 |
| commit | c806f76448f48e317c6ea91c02e50eaeee28f451 (patch) | |
| tree | 1f46dc98bd89c0b69d42bac5ca88c0e14ee729f6 /xmake/modules | |
| parent | fb0574dea9c1632eb5b4efef7460ab68829666d6 (diff) | |
improve package tips
Diffstat (limited to 'xmake/modules')
| -rw-r--r-- | xmake/modules/private/action/require/impl/install_packages.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/modules/private/action/require/impl/install_packages.lua b/xmake/modules/private/action/require/impl/install_packages.lua index cb18ff51c..dea96b3f8 100644 --- a/xmake/modules/private/action/require/impl/install_packages.lua +++ b/xmake/modules/private/action/require/impl/install_packages.lua @@ -764,7 +764,8 @@ function _install_packages(requires, opt) table.insert(packages_unsupported_maps[key], instance) end for key, instances in pairs(packages_unsupported_maps) do - cprint("${bright color.warning}note: ${clear}the following packages are unsupported on %s:", key) + cprint("${bright color.warning}note: ${clear}the following packages are unsupported on %s,", key) + cprint("${clear}you can try running ${bright}`xrepo update-repo`${clear} to update repositories or open a pr to improve these packages:") for _, instance in ipairs(instances) do cprint(" ${yellow}->${clear} %s %s ${dim}%s", instance:displayname(), instance:version_str() or "", package.get_configs_str(instance)) |
