summaryrefslogtreecommitdiff
path: root/xmake/modules/private/utils/batchcmds.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/private/utils/batchcmds.lua')
-rw-r--r--xmake/modules/private/utils/batchcmds.lua5
1 files changed, 5 insertions, 0 deletions
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