From d6af9813a8e750aff36bf2711ff7a1fc7416773c Mon Sep 17 00:00:00 2001 From: Martin Ridgers Date: Thu, 20 Jan 2022 10:21:18 +0100 Subject: Answer Yes to everything xmake wants to do when bundling --- bundle.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bundle.lua') 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 -- cgit v1.2.3