summaryrefslogtreecommitdiff
path: root/xmake/plugins/pack/xpack.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2023-11-16 23:05:56 +0800
committerruki <[email protected]>2023-11-16 23:05:56 +0800
commit41de52de7a82e4ed8ef7e0b86ebed344e69820ea (patch)
treeefc47095943cb54e64289d565a2243ea920e1272 /xmake/plugins/pack/xpack.lua
parentd7cac5b8d0cde98ab4979c6e7602042511a27833 (diff)
add xpack to xmake/core
Diffstat (limited to 'xmake/plugins/pack/xpack.lua')
-rw-r--r--xmake/plugins/pack/xpack.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/xmake/plugins/pack/xpack.lua b/xmake/plugins/pack/xpack.lua
index c925a9af1..9e747cc0a 100644
--- a/xmake/plugins/pack/xpack.lua
+++ b/xmake/plugins/pack/xpack.lua
@@ -43,6 +43,13 @@ function xpack:get(name)
end
end
+-- set value
+function xpack:set(name, ...)
+ if self._info then
+ self._info:set(name, ...)
+ end
+end
+
-- get the extra configuration
function xpack:extraconf(name, item, key)
if self._info then