diff options
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 |