aboutsummaryrefslogtreecommitdiff
path: root/bundle.lua
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2022-01-20 10:21:18 +0100
committerMartin Ridgers <[email protected]>2022-01-20 10:31:07 +0100
commitd6af9813a8e750aff36bf2711ff7a1fc7416773c (patch)
tree9a370f562f9ecd5b8b9405db3588dd51ce4ad10d /bundle.lua
parentXmake should be run before checking for sentry-native output (diff)
downloadzen-d6af9813a8e750aff36bf2711ff7a1fc7416773c.tar.xz
zen-d6af9813a8e750aff36bf2711ff7a1fc7416773c.zip
Answer Yes to everything xmake wants to do when bundling
Diffstat (limited to 'bundle.lua')
-rw-r--r--bundle.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/bundle.lua b/bundle.lua
index f5341bf46..a7884ec76 100644
--- a/bundle.lua
+++ b/bundle.lua
@@ -14,6 +14,7 @@ local function _build(arch, debug, config_args)
local ret = _exec(
"xmake",
"config",
+ "--yes",
"--clean",
"--mode="..variant,
"--arch="..arch,
@@ -22,12 +23,12 @@ local function _build(arch, debug, config_args)
raise("Failed to configure xmake")
end
- ret = _exec("xmake", "clean", "zenserver")
+ ret = _exec("xmake", "clean", "--yes", "zenserver")
if ret > 0 then
raise("Clean failed")
end
- ret = _exec("xmake", "build", "zenserver")
+ ret = _exec("xmake", "build", "--yes", "zenserver")
if ret > 0 then
raise("Build failed")
end