summaryrefslogtreecommitdiff
path: root/xmake/plugins/lua/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/plugins/lua/xmake.lua')
-rwxr-xr-xxmake/plugins/lua/xmake.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/plugins/lua/xmake.lua b/xmake/plugins/lua/xmake.lua
index b51a56948..5473a3b55 100755
--- a/xmake/plugins/lua/xmake.lua
+++ b/xmake/plugins/lua/xmake.lua
@@ -24,10 +24,10 @@
task("lua")
-- set category
- set_task_category("plugin")
+ set_category("plugin")
-- on run
- on_task_run(function ()
+ on_run(function ()
-- imports
import("core.base.option")
@@ -44,7 +44,7 @@ task("lua")
end)
-- set menu
- set_task_menu({
+ set_menu({
-- usage
usage = "xmake lua|l [options] [script] [arguments]"