summaryrefslogtreecommitdiff
path: root/xmake/core/tasks/lua.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2016-02-24 16:40:40 +0800
committerruki <[email protected]>2016-02-24 16:40:40 +0800
commitdae473cb200c72b9cd94fcfe04c431e59837012f (patch)
treec10c5d804c50230530e7db8140f2174eb7965824 /xmake/core/tasks/lua.lua
parentbd2b7e61c8053041aae4f54537641529d6c10d49 (diff)
show main menu for tasks
Diffstat (limited to 'xmake/core/tasks/lua.lua')
-rwxr-xr-xxmake/core/tasks/lua.lua11
1 files changed, 7 insertions, 4 deletions
diff --git a/xmake/core/tasks/lua.lua b/xmake/core/tasks/lua.lua
index be5bea0d0..8258e5033 100755
--- a/xmake/core/tasks/lua.lua
+++ b/xmake/core/tasks/lua.lua
@@ -1,17 +1,20 @@
-- define task
task("lua")
+ -- set category
+ set_task_category("action")
+
-- set menu
set_task_menu({
- -- xmake l
- shortname = 'l'
-
-- usage
- , usage = "xmake lua|l [options] [script] [arguments]"
+ usage = "xmake lua|l [options] [script] [arguments]"
-- description
, description = "Run the lua script."
+ -- xmake l
+ , shortname = 'l'
+
-- options
, options =
{