diff options
| author | ruki <[email protected]> | 2023-11-22 00:52:30 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-11-22 00:52:30 +0800 |
| commit | 72eaaf884bd49781a783ea4c65b52e322fb5419d (patch) | |
| tree | 6a96c4bca6367712ccefa4fd5feabf383db05b2f /xmake/modules/private/utils/batchcmds.lua | |
| parent | accaaf359ff95c1ce88037d80117076af8827b26 (diff) | |
add rawcmd
Diffstat (limited to 'xmake/modules/private/utils/batchcmds.lua')
| -rw-r--r-- | xmake/modules/private/utils/batchcmds.lua | 5 |
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 |
