diff options
| author | ruki <[email protected]> | 2018-04-10 00:28:08 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-04-09 20:48:49 +0800 |
| commit | c59a2f071f53f88516bb487e5bcef37d027ecc43 (patch) | |
| tree | bacfbce0d6c8ea5c791800fe17184626ebcdad19 /xmake/core/main.lua | |
| parent | fe78a523930b02f1e75c4490cdbae045d43d4f1a (diff) | |
add qt_console rule
Diffstat (limited to 'xmake/core/main.lua')
| -rw-r--r-- | xmake/core/main.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xmake/core/main.lua b/xmake/core/main.lua index 3455c5f64..c7a5c86b3 100644 --- a/xmake/core/main.lua +++ b/xmake/core/main.lua @@ -36,6 +36,7 @@ local deprecated = require("base/deprecated") local privilege = require("base/privilege") local task = require("base/task") local colors = require("base/colors") +local rule = require("project/rule") local project = require("project/project") local history = require("project/history") local package = require("package/package") @@ -212,8 +213,9 @@ force to build in current directory via run `xmake -P .`]], os.projectdir()) os.addenv("PATH", os.programdir()) end - -- define task and package apis first before loading project's xmake.lua - calling option.init() + -- define task, rule and package apis first before loading project's xmake.lua project.define_apis(task.apis()) + project.define_apis(rule.apis()) project.define_apis(package.apis()) end |
