summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2016-03-22 21:59:54 +0800
committerruki <[email protected]>2016-03-22 21:59:54 +0800
commitfa6157898a39fd68cf0dd2c45593ca4ac1b7d2eb (patch)
tree7074e46429c874e257a9582b4d405cc47334eeeb
parent99b26ff26a985a65ca4a548d7ff2c87d8357ac39 (diff)
add build run script
-rw-r--r--xmake/core/sandbox/modules/utils.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/core/sandbox/modules/utils.lua b/xmake/core/sandbox/modules/utils.lua
index 395642268..d5f5c73c7 100644
--- a/xmake/core/sandbox/modules/utils.lua
+++ b/xmake/core/sandbox/modules/utils.lua
@@ -38,6 +38,11 @@ end
-- print with the builtin variables and newline
function sandbox_utils.print(format, ...)
+ -- print non-formated string
+ if type(format) ~= "string" then
+ return print(format, ...)
+ end
+
-- done
return io.write(vformat(format, ...) .. "\n")
end