diff options
| author | Martin Ridgers <[email protected]> | 2022-01-20 10:47:55 +0100 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2022-01-20 10:47:55 +0100 |
| commit | 60ab813cc31feb26c01b976bcd1440f968f4d897 (patch) | |
| tree | ac9d7a6b49d92ba45de7fe752a115c67ae24c186 /bundle.lua | |
| parent | Fixed incorrect zip file path (diff) | |
| download | zen-60ab813cc31feb26c01b976bcd1440f968f4d897.tar.xz zen-60ab813cc31feb26c01b976bcd1440f968f4d897.zip | |
An implementation of 'xmake bundle' for Linux
Diffstat (limited to 'bundle.lua')
| -rw-r--r-- | bundle.lua | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/bundle.lua b/bundle.lua index 6a715af62..f277ba3bc 100644 --- a/bundle.lua +++ b/bundle.lua @@ -147,6 +147,25 @@ local function main_mac() end -------------------------------------------------------------------------------- +local function main_linux() + _build("x86_64") + + -- Crashpad handler does not exist for Linux + local crashpad_handler_path = nil + --[[ + local crashpad_handler_path = _find_vcpkg_binary( + "x64-linux", + "sentry-native", + "crashpad_handler") + --]] + + _zip( + "build/zenserver-linux.zip", + "build/linux/x86_64/release/zenserver", + crashpad_handler_path) +end + +-------------------------------------------------------------------------------- function main() if is_host("windows") then return main_windows() @@ -156,5 +175,9 @@ function main() return main_mac() end + if is_host("linux") then + return main_linux() + end + raise("'xmake bundle' not currently supported on this platform") end |