summaryrefslogtreecommitdiff
path: root/xmake/core/base/task.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2016-03-04 11:46:59 +0800
committerruki <[email protected]>2016-03-04 11:46:59 +0800
commite355270ef136ec6b559a6477b218b077f502a05b (patch)
tree0f8f5276aea1f256b6d219eff6689009f7157005 /xmake/core/base/task.lua
parentca29fd0cc42da28c3ded41973ca5cc5b1c3e7ff9 (diff)
add global and config modules for sandbox
Diffstat (limited to 'xmake/core/base/task.lua')
-rw-r--r--xmake/core/base/task.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/core/base/task.lua b/xmake/core/base/task.lua
index 69886339f..873215660 100644
--- a/xmake/core/base/task.lua
+++ b/xmake/core/base/task.lua
@@ -83,9 +83,12 @@ function task._interpreter()
{
host = xmake._HOST
, tmpdir = os.tmpdir()
+ , curdir = os.curdir()
, globaldir = global.directory()
, configdir = config.directory()
, projectdir = xmake._PROJECT_DIR
+ -- TODO
+ -- buildir
}
-- map it