From 529a623ed4eadb802b5174db0957c595af32d5e5 Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 31 May 2015 11:32:38 +0800 Subject: add some tools --- xmake/scripts/tool/echo.lua | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'xmake/scripts/tool/echo.lua') diff --git a/xmake/scripts/tool/echo.lua b/xmake/scripts/tool/echo.lua index df4f7fa98..eb6cff396 100644 --- a/xmake/scripts/tool/echo.lua +++ b/xmake/scripts/tool/echo.lua @@ -20,8 +20,11 @@ -- @file echo.lua -- --- echo it -print(...) +-- echo all +for _, v in ipairs(...) do + io.write(string.format("%s ", v)) +end +io.write("\n") -- ok return true -- cgit v1.3.1