summaryrefslogtreecommitdiff
path: root/xmake/core/main.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2018-04-11 22:32:32 +0800
committerruki <[email protected]>2018-04-11 09:15:15 +0800
commit4b9de4cb6a555c80be771fad26fe4c00ac3f4e2e (patch)
tree2eecb45ffd1745822c366f30dc6afd8dab2b1f54 /xmake/core/main.lua
parent2d1b8aeda4966843acdcc67851d941234630f147 (diff)
seperate project and package
Diffstat (limited to 'xmake/core/main.lua')
-rw-r--r--xmake/core/main.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/xmake/core/main.lua b/xmake/core/main.lua
index 5bb50d850..9eec272ca 100644
--- a/xmake/core/main.lua
+++ b/xmake/core/main.lua
@@ -38,7 +38,6 @@ local task = require("base/task")
local colors = require("base/colors")
local project = require("project/project")
local history = require("project/history")
-local package = require("package/package")
-- init the option menu
local menu =
@@ -213,9 +212,6 @@ force to build in current directory via run `xmake -P .`]], os.projectdir())
else
os.addenv("PATH", os.programdir())
end
-
- -- define package apis first before loading project's xmake.lua
- project.define_apis(package.apis())
end
-- the main function