diff options
| author | ruki <[email protected]> | 2020-09-30 22:57:09 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-09-30 22:57:09 +0800 |
| commit | 91ecb5c9596db8f176932244a49d940d594380cf (patch) | |
| tree | 97451f6498b00bb8616deea7015de864ca5caec9 /xmake/actions/require/impl/package.lua | |
| parent | 5313aebdb80760af9932e7bdcd606b7be56d5a82 (diff) | |
rename package/action to actions
Diffstat (limited to 'xmake/actions/require/impl/package.lua')
| -rw-r--r-- | xmake/actions/require/impl/package.lua | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/xmake/actions/require/impl/package.lua b/xmake/actions/require/impl/package.lua index eb36b1467..b1177fb8a 100644 --- a/xmake/actions/require/impl/package.lua +++ b/xmake/actions/require/impl/package.lua @@ -30,7 +30,8 @@ import("private.utils.progress") import("lib.detect.cache", {alias = "detectcache"}) import("core.project.project") import("core.package.package", {alias = "core_package"}) -import("action") +import("actions.install", {alias = "action_install"}) +import("actions.download", {alias = "action_download"}) import("devel.git") import("net.fasturl") import("repository") @@ -628,14 +629,14 @@ function _install_packages(packages_install, packages_download) local downloaded = true if packages_download[tostring(package)] then packages_downloading[index] = package - downloaded = action.download(package) + downloaded = action_download(package) packages_downloading[index] = nil end -- install this package packages_installing[index] = package if downloaded then - action.install(package) + action_install(package) end packages_installing[index] = nil |
