From 7ffcc9f8e2a98d63f7f6880b9a3e4553439583c6 Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 11 Aug 2026 23:45:05 +0800 Subject: add global modules and rewrite addon tests --- tests/actions/addon/custom-plugin/plugins/hello_addon/xmake.lua | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tests/actions/addon/custom-plugin/plugins/hello_addon/xmake.lua (limited to 'tests/actions/addon/custom-plugin/plugins/hello_addon/xmake.lua') diff --git a/tests/actions/addon/custom-plugin/plugins/hello_addon/xmake.lua b/tests/actions/addon/custom-plugin/plugins/hello_addon/xmake.lua new file mode 100644 index 000000000..7976a1d0e --- /dev/null +++ b/tests/actions/addon/custom-plugin/plugins/hello_addon/xmake.lua @@ -0,0 +1,5 @@ +task("hello_addon") + set_category("plugin") + set_menu {usage = "xmake hello_addon", description = "Say hello from the addon.", + options = {{'n', "name", "kv", nil, "Set the name."}}} + on_run("main") -- cgit v1.3.1