summaryrefslogtreecommitdiff
path: root/xmake/actions/install/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/actions/install/xmake.lua
parentb028a68c3f65f827ae2b7ff0ad644a86bb4597fa (diff)
add set_table api for interpreter
Diffstat (limited to 'xmake/actions/install/xmake.lua')
-rwxr-xr-xxmake/actions/install/xmake.lua30
1 files changed, 15 insertions, 15 deletions
diff --git a/xmake/actions/install/xmake.lua b/xmake/actions/install/xmake.lua
index 131babb37..9f386a26f 100755
--- a/xmake/actions/install/xmake.lua
+++ b/xmake/actions/install/xmake.lua
@@ -32,25 +32,25 @@ task("install")
on_run("main")
-- set menu
- set_menu({
- -- usage
- usage = "xmake install|i [options] [target]"
+ set_menu {
+ -- usage
+ usage = "xmake install|i [options] [target]"
- -- description
- , description = "Package and install the project binary files."
+ -- description
+ , description = "Package and install the project binary files."
- -- xmake i
- , shortname = 'i'
+ -- xmake i
+ , shortname = 'i'
- -- options
- , options =
- {
- {'o', "installdir", "kv", nil, "Set the install directory." }
+ -- options
+ , options =
+ {
+ {'o', "installdir", "kv", nil, "Set the install directory." }
- , {}
- , {nil, "target", "v", "all", "Install the given target." }
- }
- })
+ , {}
+ , {nil, "target", "v", "all", "Install the given target." }
+ }
+ }