diff options
| author | ruki <[email protected]> | 2026-08-18 18:19:16 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-08-18 18:19:16 +0800 |
| commit | de769d5574d92a37253d16b9617d998605bfd727 (patch) | |
| tree | 4a3b03ed803bd9833cf6f35ec52ca9b84afdadd2 /tests/actions/addon/custom-override/plugins | |
| parent | a6150b0a9bc7cd24081185a1d5acbd6772d5e138 (diff) | |
| parent | b884500d812ae3e4f18ef728184b031cf206cb9f (diff) | |
Move some plugins to addons
Diffstat (limited to 'tests/actions/addon/custom-override/plugins')
| -rw-r--r-- | tests/actions/addon/custom-override/plugins/format/main.lua | 3 | ||||
| -rw-r--r-- | tests/actions/addon/custom-override/plugins/format/xmake.lua | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/tests/actions/addon/custom-override/plugins/format/main.lua b/tests/actions/addon/custom-override/plugins/format/main.lua new file mode 100644 index 000000000..92f9b73b8 --- /dev/null +++ b/tests/actions/addon/custom-override/plugins/format/main.lua @@ -0,0 +1,3 @@ +function main() + print("hello from custom-override") +end diff --git a/tests/actions/addon/custom-override/plugins/format/xmake.lua b/tests/actions/addon/custom-override/plugins/format/xmake.lua new file mode 100644 index 000000000..446e24db1 --- /dev/null +++ b/tests/actions/addon/custom-override/plugins/format/xmake.lua @@ -0,0 +1,6 @@ +-- @note `format` is a builtin plugin of xmake, we use it to test that an addon +-- is able to take over a builtin plugin +task("format") + set_category("plugin") + set_menu {usage = "xmake format", description = "Say hello instead of formatting.", options = {}} + on_run("main") |
