summaryrefslogtreecommitdiff
path: root/xmake/plugins/plugin
diff options
context:
space:
mode:
authorruki <[email protected]>2026-08-08 16:32:53 +0800
committerruki <[email protected]>2026-08-09 18:25:42 +0800
commit73a790f3c4810755921350c61cf84d6504a30297 (patch)
tree3cf0048aa3545b0667e848273268d2705660a492 /xmake/plugins/plugin
parentced7f2ae519bc9eca92bcf4f177fe177ddd0e747 (diff)
add addon support for plugins
Diffstat (limited to 'xmake/plugins/plugin')
-rw-r--r--xmake/plugins/plugin/main.lua1
-rw-r--r--xmake/plugins/plugin/xmake.lua2
2 files changed, 2 insertions, 1 deletions
diff --git a/xmake/plugins/plugin/main.lua b/xmake/plugins/plugin/main.lua
index facbc0b4c..dbb23a139 100644
--- a/xmake/plugins/plugin/main.lua
+++ b/xmake/plugins/plugin/main.lua
@@ -257,6 +257,7 @@ function _clear()
end
function main()
+ wprint("`xmake plugin` is deprecated, please use `xmake addon` instead!")
if option.get("install") then
_install()
elseif option.get("remove") then
diff --git a/xmake/plugins/plugin/xmake.lua b/xmake/plugins/plugin/xmake.lua
index ae7869203..1136b0044 100644
--- a/xmake/plugins/plugin/xmake.lua
+++ b/xmake/plugins/plugin/xmake.lua
@@ -23,7 +23,7 @@ task("plugin")
on_run("main")
set_menu {
usage = "xmake plugin [options]",
- description = "Manage plugins of xmake.",
+ description = "Manage plugins of xmake. (deprecated, please use `xmake addon` instead)",
options = {
{'i', "install", "k", nil, "Install plugins."},
{'r', "remove", "k", nil, "Remove the given installed plugin."},