summaryrefslogtreecommitdiff
path: root/xmake/plugins/lua/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2016-05-27 13:25:19 +0800
committerruki <[email protected]>2016-05-27 13:25:19 +0800
commitba420896702097733403ec8e3ce56b8ee4e54e88 (patch)
treea5af327e962cba4b8715f68ec45c912f651346c9 /xmake/plugins/lua/xmake.lua
parent93a7da63ce2be9f8125c8886c3f319d866d4e439 (diff)
modify interpreter interfaces
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]"