Uncomment script/bundle lines

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Antonio Scandurra 2021-10-25 17:35:45 +02:00
parent 7105589904
commit 9759f9e947

View file

@ -13,10 +13,10 @@ cargo bundle --release --target x86_64-apple-darwin
popd > /dev/null popd > /dev/null
# Build the binary for aarch64 (Apple M1) # 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 # 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 # Bundle rust-analyzer
cp vendor/bin/rust-analyzer-x86_64-apple-darwin target/x86_64-apple-darwin/release/bundle/osx/Zed.app/Contents/Resources/ cp vendor/bin/rust-analyzer-x86_64-apple-darwin target/x86_64-apple-darwin/release/bundle/osx/Zed.app/Contents/Resources/