diff options
| author | ruki <[email protected]> | 2017-07-17 21:24:15 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-07-17 21:24:15 +0800 |
| commit | 33144e73eae59ee7d934fd77673aac5a5a5cb0d1 (patch) | |
| tree | b8aa2925c9c7e44184c5288d5e7fffab715a5f36 /xmake/core/project/task.lua | |
| parent | 90c118045794457feb9c5e7a36c9625a25841cb1 (diff) | |
move global to base module
Diffstat (limited to 'xmake/core/project/task.lua')
| -rw-r--r-- | xmake/core/project/task.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/project/task.lua b/xmake/core/project/task.lua index f1aad65a0..1f7770881 100644 --- a/xmake/core/project/task.lua +++ b/xmake/core/project/task.lua @@ -32,7 +32,7 @@ local utils = require("base/utils") local string = require("base/string") local interpreter = require("base/interpreter") local sandbox = require("sandbox/sandbox") -local global = require("project/global") +local global = require("base/global") local config = require("project/config") local project = require("project/project") local package = require("project/package") @@ -201,7 +201,7 @@ function task._interpreter() , scriptdir = function () return sandbox_os.scriptdir() end , globaldir = global.directory() , configdir = config.directory() - , projectdir = xmake._PROJECT_DIR + , projectdir = os.projectdir() , packagedir = package.directory() , programdir = os.programdir() } |
