summaryrefslogtreecommitdiff
path: root/xmake/modules/package/tools/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2018-11-04 22:20:13 +0800
committerruki <[email protected]>2018-11-04 22:20:13 +0800
commitd3d05b0c620dbfc318d4c693bc2fb7b556d51d3c (patch)
treea91579ba8362498e531c01081d8fe80906da142d /xmake/modules/package/tools/xmake.lua
parent9d22026291016915298cd4cf8b004bef4b6faaec (diff)
improve diagnosis info
Diffstat (limited to 'xmake/modules/package/tools/xmake.lua')
-rw-r--r--xmake/modules/package/tools/xmake.lua12
1 files changed, 6 insertions, 6 deletions
diff --git a/xmake/modules/package/tools/xmake.lua b/xmake/modules/package/tools/xmake.lua
index 6a5772e8f..4b625342b 100644
--- a/xmake/modules/package/tools/xmake.lua
+++ b/xmake/modules/package/tools/xmake.lua
@@ -54,8 +54,8 @@ function install(package, configs)
if option.get("verbose") then
table.insert(argv, "-v")
end
- if option.get("backtrace") then
- table.insert(argv, "--backtrace")
+ if option.get("diagnosis") then
+ table.insert(argv, "--diagnosis")
end
os.vrunv("xmake", argv)
@@ -64,8 +64,8 @@ function install(package, configs)
if option.get("verbose") then
table.insert(argv, "-v")
end
- if option.get("backtrace") then
- table.insert(argv, "--backtrace")
+ if option.get("diagnosis") then
+ table.insert(argv, "--diagnosis")
end
os.vrunv("xmake", argv)
@@ -74,8 +74,8 @@ function install(package, configs)
if option.get("verbose") then
table.insert(argv, "-v")
end
- if option.get("backtrace") then
- table.insert(argv, "--backtrace")
+ if option.get("diagnosis") then
+ table.insert(argv, "--diagnosis")
end
os.vrunv("xmake", argv)
end