summaryrefslogtreecommitdiff
path: root/xmake/modules
diff options
context:
space:
mode:
authorruki <[email protected]>2023-11-22 11:21:34 +0800
committerGitHub <[email protected]>2023-11-22 11:21:34 +0800
commit3cf88c4347b0605396b3d5c75f0b34a1c67128ab (patch)
treea5b4c18625db8cdf4b27acf4a26e42b73cf8c6dc /xmake/modules
parentd3a27747a757200dc6d0454469a18e9469219f59 (diff)
parent93101340da3886b608aefcacba66b20c6142be91 (diff)
Merge pull request #4406 from xmake-io/xpack
Support xpack components
Diffstat (limited to 'xmake/modules')
-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