From 72eaaf884bd49781a783ea4c65b52e322fb5419d Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 22 Nov 2023 00:52:30 +0800 Subject: add rawcmd --- xmake/modules/private/utils/batchcmds.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'xmake/modules/private/utils/batchcmds.lua') diff --git a/xmake/modules/private/utils/batchcmds.lua b/xmake/modules/private/utils/batchcmds.lua index eda3887c8..4fa2514c9 100644 --- a/xmake/modules/private/utils/batchcmds.lua +++ b/xmake/modules/private/utils/batchcmds.lua @@ -378,6 +378,11 @@ function batchcmds:show(format, ...) table.insert(self:cmds(), {kind = "show", showtext = showtext}) end +-- add raw command for the specific generator or xpack format +function batchcmds:rawcmd(kind, rawstr) + table.insert(self:cmds(), {kind = kind, rawstr = rawstr}) +end + -- add command: show progress function batchcmds:show_progress(progress, format, ...) if progress then -- cgit v1.3.1