diff options
| author | ruki <[email protected]> | 2026-08-16 22:00:38 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2026-08-16 22:00:38 +0800 |
| commit | dd7d4521ca5008a2c53401ec550f00c56c09435a (patch) | |
| tree | d3db09204acba4aaba1b1d31d3931ff6fcef23e1 /xmake/actions/addon | |
| parent | f53769382d8f65c6a90a838da55287864888cfbb (diff) | |
improve interpreter
Diffstat (limited to 'xmake/actions/addon')
| -rw-r--r-- | xmake/actions/addon/main.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/actions/addon/main.lua b/xmake/actions/addon/main.lua index 28c73a754..99f92d125 100644 --- a/xmake/actions/addon/main.lua +++ b/xmake/actions/addon/main.lua @@ -21,6 +21,7 @@ -- imports import("core.base.option") import("core.package.addon") +import("core.project.project") import("devel.git") import("private.action.addon.impl.install_addons") import("private.action.addon.impl.xrepo", {alias = "xrepo_addon"}) @@ -230,7 +231,6 @@ end -- upgrade the addons which the current project declares, e.g. add_addons("esp32-devel 1.0.x") function _upgrade() - import("core.project.project") local declarations = {addons = table.wrap(project.get("addons")), repositories = table.wrap(project.get("repositories"))} assert(#declarations.addons > 0, "no addons are declared in this project, e.g. add_addons(\"esp32-devel\")!") |
