summaryrefslogtreecommitdiff
path: root/xmake/core/project/task.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-04-16 19:47:24 +0800
committerruki <[email protected]>2017-04-16 19:47:24 +0800
commit057493ce4252bbbd3c52db87ec044e14ce565ed5 (patch)
tree4079e07e39993d588410e980cfe1dbd20ac30f0b /xmake/core/project/task.lua
parente523e7fc34144794aa837ce1aab2a9ff966496ba (diff)
add and variables
Diffstat (limited to 'xmake/core/project/task.lua')
-rw-r--r--xmake/core/project/task.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/core/project/task.lua b/xmake/core/project/task.lua
index ed0150694..35c051ef9 100644
--- a/xmake/core/project/task.lua
+++ b/xmake/core/project/task.lua
@@ -202,6 +202,8 @@ function task._interpreter()
, configdir = config.directory()
, projectdir = xmake._PROJECT_DIR
, packagedir = package.directory()
+ , programdir = xmake._PROGRAM_DIR
+ , xmake = path.join(xmake._PROGRAM_DIR, "xmake")
}
-- map it