summaryrefslogtreecommitdiff
path: root/xmake/core/sandbox/modules/os.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2016-04-23 20:02:18 +0800
committerruki <[email protected]>2016-04-23 20:02:18 +0800
commit48a228f6bb2e4870bf0e4952c0c752ddeae72219 (patch)
tree933c64e6834ef2d5a05ebd52eaffb210737b9033 /xmake/core/sandbox/modules/os.lua
parent31e930871e159dc022ddd1f7a326fcc120e2fb00 (diff)
add iphoneos platform
Diffstat (limited to 'xmake/core/sandbox/modules/os.lua')
-rw-r--r--xmake/core/sandbox/modules/os.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/xmake/core/sandbox/modules/os.lua b/xmake/core/sandbox/modules/os.lua
index fc4f3c195..98dca8bc7 100644
--- a/xmake/core/sandbox/modules/os.lua
+++ b/xmake/core/sandbox/modules/os.lua
@@ -166,6 +166,13 @@ function sandbox_os.tmpfile()
return os.tmpname()
end
+-- get the tools directory
+function sandbox_os.toolsdir()
+
+ -- get it
+ return xmake._TOOLS_DIR
+end
+
-- get the program directory
function sandbox_os.programdir()