aboutsummaryrefslogtreecommitdiff
path: root/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake.lua')
-rw-r--r--xmake.lua9
1 files changed, 8 insertions, 1 deletions
diff --git a/xmake.lua b/xmake.lua
index a053f0be3..616032373 100644
--- a/xmake.lua
+++ b/xmake.lua
@@ -244,8 +244,15 @@ task("test")
server = "zenserver",
integration = "zenserver-test"
}
+
+ local arch
+ if is_host("windows") then
+ arch = "x64"
+ else
+ arch = "x86_64"
+ end
- print(os.exec("xmake config -c -m debug -a x64"))
+ print(os.exec("xmake config -c -m debug -a "..arch))
print(os.exec("xmake"))
local tests = {}