summaryrefslogtreecommitdiff
path: root/xmake/core/project/rule.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-03-10 23:00:11 +0800
committerruki <[email protected]>2020-03-10 12:01:11 +0800
commitf3d3ca766a2d6486de98ae6b492ec2ff2aa60657 (patch)
treec2cc6fc35262c48fa3bc7960a872bdfde9e7b4e5 /xmake/core/project/rule.lua
parentfb3610ea1dbfbb31cc05d7dc272fa0dd7c825893 (diff)
rewrite action/build
Diffstat (limited to 'xmake/core/project/rule.lua')
-rw-r--r--xmake/core/project/rule.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/core/project/rule.lua b/xmake/core/project/rule.lua
index d2f630d08..43c8e3db2 100644
--- a/xmake/core/project/rule.lua
+++ b/xmake/core/project/rule.lua
@@ -211,6 +211,11 @@ function rule:get(name)
return self._INFO:get(name)
end
+-- get the extra configuration
+function rule:extraconf(name, item, key)
+ return self._INFO:extraconf(name, item, key)
+end
+
-- get the rule name
function rule:name()
return self._NAME