diff options
| author | ruki <[email protected]> | 2021-05-27 00:53:06 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-05-27 09:56:32 +0800 |
| commit | 9bc010979ead04b321ff409872df98cc6276f2b0 (patch) | |
| tree | 320bb9c09367df00a130358dddaa2ba60c92dd43 | |
| parent | 8872d2b48833e3f54415c2db121005193bc0569b (diff) | |
load extsource
| -rw-r--r-- | xmake/modules/private/action/require/impl/install_packages.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/modules/private/action/require/impl/install_packages.lua b/xmake/modules/private/action/require/impl/install_packages.lua index 842f3fc66..d9f218415 100644 --- a/xmake/modules/private/action/require/impl/install_packages.lua +++ b/xmake/modules/private/action/require/impl/install_packages.lua @@ -23,6 +23,7 @@ import("core.base.option") import("core.base.hashset") import("core.base.scheduler") import("core.project.project") +import("core.package.package", {alias = "core_package"}) import("core.base.tty") import("private.async.runjobs") import("private.utils.progress") @@ -90,6 +91,8 @@ function _get_confirm_from_3rd(packages) for _, confirmed_extsource in ipairs(confirmed_extsources) do local instance = confirmed_extsource.instance local extsource = confirmed_extsource.extsource + local extinstance = core_package.load_from_system(extsource) + print("xx", extinstance:name()) end end |
