summaryrefslogtreecommitdiff
path: root/xmake/scripts/tool/echo.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2015-05-31 11:32:38 +0800
committerruki <[email protected]>2015-05-31 11:32:38 +0800
commit529a623ed4eadb802b5174db0957c595af32d5e5 (patch)
tree361a0e7fd30f73af0395886e098d2a3ca2b7164e /xmake/scripts/tool/echo.lua
parentad9d27ef9a74603063755857b0a0191e486c1e8d (diff)
add some tools
Diffstat (limited to 'xmake/scripts/tool/echo.lua')
-rw-r--r--xmake/scripts/tool/echo.lua7
1 files changed, 5 insertions, 2 deletions
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