diff options
| author | ruki <[email protected]> | 2025-10-29 23:23:00 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-10-29 23:23:00 +0800 |
| commit | 6871f31ec3fe4cdc4199c57c86f8371752f4e75b (patch) | |
| tree | 6d33f4ead7e2563d5529e508426547d19e3224da /xmake/plugins/project/vstudio | |
| parent | b5e75fee5a983a8ea89c70743cb74b464f7a5735 (diff) | |
improve batchcmds:show
Diffstat (limited to 'xmake/plugins/project/vstudio')
| -rw-r--r-- | xmake/plugins/project/vstudio/impl/vs201x.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xmake/plugins/project/vstudio/impl/vs201x.lua b/xmake/plugins/project/vstudio/impl/vs201x.lua index 823787ab1..bc31acbbe 100644 --- a/xmake/plugins/project/vstudio/impl/vs201x.lua +++ b/xmake/plugins/project/vstudio/impl/vs201x.lua @@ -118,8 +118,9 @@ function _get_command_string(cmd, vcxprojdir) elseif kind == "mkdir" then local dir = _translate_path(cmd.dir, vcxprojdir) return string.format("if not exist \"%s\" mkdir \"%s\"", dir, dir) - elseif kind == "show" then - return string.format("echo %s", colors.ignore(cmd.showtext)) + elseif kind == "show" or kind == "show_progress" then + local text = string.format(cmd.format, table.unpack(cmd.argv)) + return string.format("echo %s", colors.ignore(text)) end end |
