From 7a0445c0612e9065461c1dff3eab6e992d742e4d Mon Sep 17 00:00:00 2001 From: ruki Date: Sat, 28 May 2016 19:30:26 +0800 Subject: pass task arguments --- xmake/core/project/task.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xmake/core/project/task.lua') diff --git a/xmake/core/project/task.lua b/xmake/core/project/task.lua index 101a5ca64..2bdc7c353 100644 --- a/xmake/core/project/task.lua +++ b/xmake/core/project/task.lua @@ -357,7 +357,7 @@ function task.tasks() end -- run task with given name -function task.run(name) +function task.run(name, ...) -- check assert(name) @@ -382,7 +382,7 @@ function task.run(name) end -- run task - return sandbox.load(taskinfo.run) + return sandbox.load(taskinfo.run, ...) end -- the menu -- cgit v1.3.1