diff options
| author | ruki <[email protected]> | 2017-01-21 17:02:13 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-01-21 17:02:13 +0800 |
| commit | 50bc191501037fee117bee79191d21d326a0ed82 (patch) | |
| tree | c8f5dd93a4e2de8d369bafdb770f5148fd05f8d1 /xmake/plugins/lua/xmake.lua | |
| parent | b028a68c3f65f827ae2b7ff0ad644a86bb4597fa (diff) | |
add set_table api for interpreter
Diffstat (limited to 'xmake/plugins/lua/xmake.lua')
| -rwxr-xr-x | xmake/plugins/lua/xmake.lua | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/xmake/plugins/lua/xmake.lua b/xmake/plugins/lua/xmake.lua index 2ed7f22a7..8de34a0a2 100755 --- a/xmake/plugins/lua/xmake.lua +++ b/xmake/plugins/lua/xmake.lua @@ -59,24 +59,24 @@ task("lua") end) -- set menu - set_menu({ - -- usage - usage = "xmake lua|l [options] [script] [arguments]" + set_menu { + -- usage + usage = "xmake lua|l [options] [script] [arguments]" - -- description - , description = "Run the lua script." + -- description + , description = "Run the lua script." - -- xmake l - , shortname = 'l' + -- xmake l + , shortname = 'l' - -- options - , options = - { - {'l', "list", "k", nil, "List all scripts." } - , {nil, "script", "v", nil, "Run the given lua script." } - , {nil, "arguments", "vs", nil, "The script arguments." } - } - }) + -- options + , options = + { + {'l', "list", "k", nil, "List all scripts." } + , {nil, "script", "v", nil, "Run the given lua script." } + , {nil, "arguments", "vs", nil, "The script arguments." } + } + } |
