diff options
| author | ruki <[email protected]> | 2016-05-27 13:25:19 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2016-05-27 13:25:19 +0800 |
| commit | ba420896702097733403ec8e3ce56b8ee4e54e88 (patch) | |
| tree | a5af327e962cba4b8715f68ec45c912f651346c9 /xmake/plugins/hello/xmake.lua | |
| parent | 93a7da63ce2be9f8125c8886c3f319d866d4e439 (diff) | |
modify interpreter interfaces
Diffstat (limited to 'xmake/plugins/hello/xmake.lua')
| -rwxr-xr-x | xmake/plugins/hello/xmake.lua | 6 |
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]" |
