diff options
| author | ruki <[email protected]> | 2018-12-01 00:53:37 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-11-30 23:21:48 +0800 |
| commit | 47b2b81350a97f8434403df141102bcf5b2bb148 (patch) | |
| tree | cd9ee3519e65a8a5f8ec82df6eb5a995dfb5b24c /xmake/actions/require/list.lua | |
| parent | 874d33e13dda991583f0293f4ff5b67ea3544ae5 (diff) | |
improve to require info and unlink
Diffstat (limited to 'xmake/actions/require/list.lua')
| -rw-r--r-- | xmake/actions/require/list.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/actions/require/list.lua b/xmake/actions/require/list.lua index e42b3abdd..eb5d11f87 100644 --- a/xmake/actions/require/list.lua +++ b/xmake/actions/require/list.lua @@ -55,7 +55,7 @@ end function main() -- list all requires - print("The package dependencies:") + print("The package dependencies of project:") -- get requires local requires, requires_extra = project.get("requires"), project.get("__extra_requires") @@ -80,7 +80,7 @@ function main() local fetchinfo = instance:fetch() if fetchinfo then for name, info in pairs(fetchinfo) do - print(" -> %s: %s", name, table.concat(table.wrap(info), " ")) + cprint(" -> ${magenta}%s${clear}: %s", name, table.concat(table.wrap(info), " ")) end end end |
