mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-24 11:01:54 +00:00
Uncomment script/bundle lines
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
7105589904
commit
9759f9e947
1 changed files with 2 additions and 2 deletions
|
@ -13,10 +13,10 @@ cargo bundle --release --target x86_64-apple-darwin
|
|||
popd > /dev/null
|
||||
|
||||
# Build the binary for aarch64 (Apple M1)
|
||||
# cargo build --release --target aarch64-apple-darwin
|
||||
cargo build --release --target aarch64-apple-darwin
|
||||
|
||||
# Replace the bundle's binary with a "fat binary" that combines the two architecture-specific binaries
|
||||
# lipo -create target/x86_64-apple-darwin/release/Zed target/aarch64-apple-darwin/release/Zed -output target/x86_64-apple-darwin/release/bundle/osx/Zed.app/Contents/MacOS/zed
|
||||
lipo -create target/x86_64-apple-darwin/release/Zed target/aarch64-apple-darwin/release/Zed -output target/x86_64-apple-darwin/release/bundle/osx/Zed.app/Contents/MacOS/zed
|
||||
|
||||
# Bundle rust-analyzer
|
||||
cp vendor/bin/rust-analyzer-x86_64-apple-darwin target/x86_64-apple-darwin/release/bundle/osx/Zed.app/Contents/Resources/
|
||||
|
|
Loading…
Reference in a new issue