summaryrefslogtreecommitdiff
path: root/xmake/modules
diff options
context:
space:
mode:
authorruki <[email protected]>2026-08-14 23:46:36 +0800
committerruki <[email protected]>2026-08-14 23:46:36 +0800
commitb13c11f9457e274eeb5e7c51547f619eb4aa6a68 (patch)
tree31f532e49b788f6466e287a978e5da47ebbed521 /xmake/modules
parent20b14e8b458221555de8b85a32c7185fcf227f48 (diff)
rename addons position
Diffstat (limited to 'xmake/modules')
-rw-r--r--xmake/modules/private/action/addon/impl/install_addons.lua (renamed from xmake/modules/private/addons/main.lua)6
-rw-r--r--xmake/modules/private/action/require/impl/actions/install.lua2
2 files changed, 4 insertions, 4 deletions
diff --git a/xmake/modules/private/addons/main.lua b/xmake/modules/private/action/addon/impl/install_addons.lua
index 1cdc2191d..6ece11964 100644
--- a/xmake/modules/private/addons/main.lua
+++ b/xmake/modules/private/action/addon/impl/install_addons.lua
@@ -15,7 +15,7 @@
-- Copyright (C) 2015-present, Xmake Open Source Community.
--
-- @author ruki
--- @file main.lua
+-- @file install_addons.lua
--
-- imports
@@ -73,8 +73,8 @@ end
-- install the addons which the given project declares in its `xmake-addons.lua`
--
--- @note we are called from a sub-process, the project cannot be loaded until its
--- addons are installed, @see core/project/project.lua
+-- @note we are also called from a sub-process, the project cannot be loaded until
+-- its addons are installed, @see core/project/project.lua
--
function main(projectdir, opt)
opt = opt or {}
diff --git a/xmake/modules/private/action/require/impl/actions/install.lua b/xmake/modules/private/action/require/impl/actions/install.lua
index 1a2e389b3..7ddb66cca 100644
--- a/xmake/modules/private/action/require/impl/actions/install.lua
+++ b/xmake/modules/private/action/require/impl/actions/install.lua
@@ -319,7 +319,7 @@ function _register_addon(package)
end
-- we also record where it comes from, so that the projects can lock it,
- -- @see xmake/modules/private/addons/main.lua
+ -- @see xmake/modules/private/action/addon/impl/install_addons.lua
local repo = package:repo()
addon.register(package:name(), package:version_str() or "latest",
{description = description, deps = deps,