summaryrefslogtreecommitdiff
path: root/xmake/core/tool/builder.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-06-20 21:32:31 +0800
committerruki <[email protected]>2020-06-20 21:32:31 +0800
commit17561f833fe7dba0721cfd8f48a88213867231a0 (patch)
tree81979aa293c29499146a8aa4f5cac90d348ef733 /xmake/core/tool/builder.lua
parent9952e551b93d71d5428dc99633fb770d8e0636f4 (diff)
fix check features
Diffstat (limited to 'xmake/core/tool/builder.lua')
-rw-r--r--xmake/core/tool/builder.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/xmake/core/tool/builder.lua b/xmake/core/tool/builder.lua
index 03a9f34ed..d8a01ba2a 100644
--- a/xmake/core/tool/builder.lua
+++ b/xmake/core/tool/builder.lua
@@ -383,6 +383,16 @@ function builder:program()
return self:_tool():program()
end
+-- get toolchain of this tool
+function builder:toolchain()
+ return self:_tool():toolchain()
+end
+
+-- get the run environments
+function builder:runenvs()
+ return self:_tool():runenvs()
+end
+
-- get properties of the tool
function builder:get(name)
return self:_tool():get(name)