Build universal GhosttyKit for Release
This commit is contained in:
parent
89587694c6
commit
76f53aaf90
6 changed files with 13 additions and 11 deletions
|
|
@ -61,7 +61,7 @@ echo "Pre-flight checks passed"
|
|||
# --- Build GhosttyKit (if needed) ---
|
||||
if [ ! -d "GhosttyKit.xcframework" ]; then
|
||||
echo "Building GhosttyKit..."
|
||||
cd ghostty && zig build -Demit-xcframework=true -Demit-macos-app=false -Dxcframework-target=native -Doptimize=ReleaseFast && cd ..
|
||||
cd ghostty && zig build -Demit-xcframework=true -Demit-macos-app=false -Dxcframework-target=universal -Doptimize=ReleaseFast && cd ..
|
||||
rm -rf GhosttyKit.xcframework
|
||||
cp -R ghostty/macos/GhosttyKit.xcframework GhosttyKit.xcframework
|
||||
else
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ else
|
|||
echo "==> Building GhosttyKit.xcframework (this may take a few minutes)..."
|
||||
(
|
||||
cd ghostty
|
||||
zig build -Demit-xcframework=true -Doptimize=ReleaseFast
|
||||
zig build -Demit-xcframework=true -Dxcframework-target=universal -Doptimize=ReleaseFast
|
||||
)
|
||||
# Stamp the build output with the SHA it was built from
|
||||
echo "$GHOSTTY_SHA" > "$LOCAL_SHA_STAMP"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue