summaryrefslogtreecommitdiff
path: root/xmake/core/sandbox/modules/utils.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2019-01-14 22:50:29 +0800
committerruki <[email protected]>2019-01-14 11:02:59 +0800
commit3bfc245906c14b03291d57d5f9930ba0259ca9eb (patch)
tree2503c7ac32ba072bf93c9fa79efdcc56b5a88721 /xmake/core/sandbox/modules/utils.lua
parent5b9c7e6cdc896c0c469f402142aeadc86c4cdf52 (diff)
add add_installfiles api to target
Diffstat (limited to 'xmake/core/sandbox/modules/utils.lua')
-rw-r--r--xmake/core/sandbox/modules/utils.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/sandbox/modules/utils.lua b/xmake/core/sandbox/modules/utils.lua
index 955843c3a..3ed48f59f 100644
--- a/xmake/core/sandbox/modules/utils.lua
+++ b/xmake/core/sandbox/modules/utils.lua
@@ -145,14 +145,14 @@ end
-- print the verbose information
function sandbox_utils.vprint(format, ...)
- if option.get("verbose") then
+ if option.get("verbose") or option.get("diagnosis") then
sandbox_utils.print(format, ...)
end
end
-- print the verbose information without newline
function sandbox_utils.vprintf(format, ...)
- if option.get("verbose") then
+ if option.get("verbose") or option.get("diagnosis") then
sandbox_utils.printf(format, ...)
end
end