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.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/core/project/task.lua b/xmake/core/project/task.lua
index dd7eabf2c..a50f4e6e2 100644
--- a/xmake/core/project/task.lua
+++ b/xmake/core/project/task.lua
@@ -34,6 +34,7 @@ local sandbox = require("sandbox/sandbox")
local global = require("project/global")
local config = require("project/config")
local project = require("project/project")
+local package = require("project/package")
-- the directories of tasks
function task._directories()
@@ -194,11 +195,11 @@ function task._interpreter()
, globaldir = global.directory()
, configdir = config.directory()
, projectdir = xmake._PROJECT_DIR
+ , packagedir = package.directory()
}
-- map it
result = maps[variable]
-
end
-- ok?