diff options
| author | ruki <[email protected]> | 2017-03-01 17:17:57 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-03-01 17:17:57 +0800 |
| commit | 1ab4daf4fbdd148dc5b3ee879d36e9829e4753d7 (patch) | |
| tree | cd0dcbc257d2fbc342dbf0dc0d3f468ab76f2d50 /xmake/core/project/project.lua | |
| parent | 020da826110c507d6547c935b84858422635122f (diff) | |
add scriptdir vars
Diffstat (limited to 'xmake/core/project/project.lua')
| -rw-r--r-- | xmake/core/project/project.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/core/project/project.lua b/xmake/core/project/project.lua index 6157ce951..40bee0a5e 100644 --- a/xmake/core/project/project.lua +++ b/xmake/core/project/project.lua @@ -43,6 +43,7 @@ local deprecated_project = require("project/deprecated/project") local platform = require("platform/platform") local environment = require("platform/environment") local language = require("language/language") +local sandbox_os = require("sandbox/modules/os") -- the current os is belong to the given os? function project._api_is_os(interp, ...) @@ -288,6 +289,7 @@ function project._interpreter() , prefix = "$(prefix)" , tmpdir = os.tmpdir() , curdir = os.curdir() + , scriptdir = sandbox_os.scriptdir() , globaldir = global.directory() , configdir = config.directory() , projectdir = project.directory() |
