summaryrefslogtreecommitdiff
path: root/xmake/plugins/pack/xpack.lua
diff options
context:
space:
mode:
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