summaryrefslogtreecommitdiff
path: root/xmake/plugins/hello/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/plugins/hello/xmake.lua')
-rwxr-xr-xxmake/plugins/hello/xmake.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/plugins/hello/xmake.lua b/xmake/plugins/hello/xmake.lua
index 2d291eb24..23657f832 100755
--- a/xmake/plugins/hello/xmake.lua
+++ b/xmake/plugins/hello/xmake.lua
@@ -24,10 +24,10 @@
task("hello")
-- set category
- set_task_category("plugin")
+ set_category("plugin")
-- on run
- on_task_run(function ()
+ on_run(function ()
-- trace
print("hello xmake!")
@@ -35,7 +35,7 @@ task("hello")
end)
-- set menu
- set_task_menu({
+ set_menu({
-- usage
usage = "xmake hello [options]"