diff options
| author | ruki <[email protected]> | 2016-02-28 14:14:25 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2016-02-28 14:14:25 +0800 |
| commit | 5c154ce0b281f073fb6c8e475e932837da0d5117 (patch) | |
| tree | b670dfe584762f397fe466be227b09d375b1ec90 /xmake/core/base/action.lua | |
| parent | 9212146ac3d022a54f659d87fb0ecd7a7db2bee4 (diff) | |
hide _OPTIONS
Diffstat (limited to 'xmake/core/base/action.lua')
| -rw-r--r-- | xmake/core/base/action.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xmake/core/base/action.lua b/xmake/core/base/action.lua index b1b92d3ec..3e713221e 100644 --- a/xmake/core/base/action.lua +++ b/xmake/core/base/action.lua @@ -27,6 +27,7 @@ local action = action or {} local os = require("base/os") local path = require("base/path") local utils = require("base/utils") +local option = require("base/option") local global = require("base/global") local config = require("base/config") local project = require("base/project") @@ -43,7 +44,7 @@ end function action._load_project() -- the options - local options = xmake._OPTIONS + local options = option.options() assert(options) -- enter the project directory @@ -81,7 +82,7 @@ end function action.done(name) -- the options - local options = xmake._OPTIONS + local options = option.options() assert(options) -- load the given action |
