diff options
| author | Martin Ridgers <[email protected]> | 2022-01-13 09:25:05 +0100 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2022-01-13 09:25:05 +0100 |
| commit | 6fa251cfd150e0d287876d4bc0cb9559541ba880 (patch) | |
| tree | a4ba133e3cfbe7b569784526a9b563916bcb587f /xmake.lua | |
| parent | Fixed 'xmake test' using the wrong architecture value on non-Windows (diff) | |
| download | zen-6fa251cfd150e0d287876d4bc0cb9559541ba880.tar.xz zen-6fa251cfd150e0d287876d4bc0cb9559541ba880.zip | |
Issue warning if xmake bundle is run on non-Windows
Diffstat (limited to 'xmake.lua')
| -rw-r--r-- | xmake.lua | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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") |