From 6871f31ec3fe4cdc4199c57c86f8371752f4e75b Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 29 Oct 2025 23:23:00 +0800 Subject: improve batchcmds:show --- xmake/plugins/project/make/makefile.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'xmake/plugins/project/make/makefile.lua') diff --git a/xmake/plugins/project/make/makefile.lua b/xmake/plugins/project/make/makefile.lua index 7e818164c..3128a1c96 100644 --- a/xmake/plugins/project/make/makefile.lua +++ b/xmake/plugins/project/make/makefile.lua @@ -267,8 +267,9 @@ function _get_command_string(cmd, outputdir) return _get_cmd_cd(_get_relative_unix_path(cmd.dir, outputdir)) elseif kind == "mkdir" then return _get_cmd_mkdir(_get_relative_unix_path(cmd.dir, outputdir)) - elseif kind == "show" then - return _get_cmd_echo(cmd.showtext) + elseif kind == "show" or kind == "show_progress" then + local text = string.format(cmd.format, table.unpack(cmd.argv)) + return _get_cmd_echo(text) end end -- cgit v1.3.1