summaryrefslogtreecommitdiff
path: root/xmake/core/project/task.lua
diff options
context:
space:
mode:
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