summaryrefslogtreecommitdiff
path: root/xmake/plugins/lua/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-01-21 17:02:13 +0800
committerruki <[email protected]>2017-01-21 17:02:13 +0800
commit50bc191501037fee117bee79191d21d326a0ed82 (patch)
treec8f5dd93a4e2de8d369bafdb770f5148fd05f8d1 /xmake/plugins/lua/xmake.lua
parentb028a68c3f65f827ae2b7ff0ad644a86bb4597fa (diff)
add set_table api for interpreter
Diffstat (limited to 'xmake/plugins/lua/xmake.lua')
-rwxr-xr-xxmake/plugins/lua/xmake.lua30
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." }
+ }
+ }