From 6fa251cfd150e0d287876d4bc0cb9559541ba880 Mon Sep 17 00:00:00 2001 From: Martin Ridgers Date: Thu, 13 Jan 2022 09:25:05 +0100 Subject: Issue warning if xmake bundle is run on non-Windows --- xmake.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xmake.lua b/xmake.lua index 616032373..0fd258d1c 100644 --- a/xmake.lua +++ b/xmake.lua @@ -154,6 +154,10 @@ task("bundle") import("detect.tools.find_7z") import("detect.sdks.find_vcpkgdir") + if not is_host("windows") then + raise("'xmake bundle' not currently supported on this platform") + end + local zip_cmd = find_7z() if not zip_cmd then raise("unable to find zip tool") -- cgit v1.2.3