Commit Graph
31 Commits
Author SHA1 Message Date
Julia de306578f2 Insert macOS file association metadata during bundle process 2023-01-24 17:07:02 -05:00
Joseph Lyons 91533ba484 Remove extraneous newline 2022-12-10 09:56:42 -05:00
Joseph Lyons 5801188db8 Add symlink to applications directory in dmg 2022-12-10 09:48:40 -05:00
Max Brunsfeld ec35f5ca95 Ensure only the just-built app bundle is included in the DMG 2022-10-26 21:06:06 -07:00
Max Brunsfeld d256e1285f Clear out bundle directory before creating a new app bundle 2022-10-26 17:49:03 -07:00
Max Brunsfeld 184166c688 Handle different app names in bundle script 2022-10-26 16:19:19 -07:00
Max Brunsfeld 01e4a30ed4 Use a separate icon for preview releases 2022-10-26 16:19:19 -07:00
Nathan Sobo 56bec8d03b Preserve symlinks in WebRTC.framework to avoid bundle signing failure 2022-10-20 14:37:04 -06:00
Antonio ScandurraandNathan Sobo 4772d6da50 Bump minimum macOS version to 10.15.7
This solves an issue with loading Swift libraries when running the
x86_64 binary.

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2022-10-20 18:01:41 +02:00
Antonio Scandurra 9f72b7a711 Copy WebRTC into Zed.app/Contents/Frameworks when bundling the app 2022-10-20 15:38:54 +02:00
Antonio ScandurraandNathan Sobo 9f035cdf75 Set MACOSX_DEPLOYMENT_TARGET when running script/bundle
This ensures that every library and binary we build doesn't assume
that it's going to run on the same machine that created it.

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2022-09-21 17:18:39 +02:00
Isaac Clayton 02f225d251 Add wasm32-wasi to CI workflow 2022-07-11 18:29:27 +02:00
Max Brunsfeld 33a545c3c8 Update bundle script to include fat CLI binary 2022-04-20 17:27:33 +02:00
Antonio Scandurra ede6adbe76 Make language server initialization asynchronous 2022-02-21 09:39:28 +01:00
Antonio Scandurra 1980656679 Revert "WIP: avoid code-signing rust-analyzer to prevent proc macro errors"
This reverts commit a7160ed278.
2022-02-21 08:13:05 +01:00
Antonio Scandurra a7160ed278 WIP: avoid code-signing rust-analyzer to prevent proc macro errors
If this works, I think we should set the permissions asynchronously,
maybe as part of starting the language server, so that we avoid doing
synchronous I/O.
2022-02-20 12:14:43 +01:00
Nathan Sobo 29e1d634a2 Use -stdlib=libc++ in script/bundle to avoid errors on Monterey
I was unable to run script/bundle my local machine without this change.
2022-02-04 08:48:00 -07:00
Antonio Scandurra d9b96409b7 Try signing rust-analyzer in order to embed it in the app bundle 2021-11-01 10:30:10 +01:00
Antonio Scandurra 7da4c3df27 Bundle fat-binary for rust-analyzer 2021-10-29 11:41:07 +02:00
abc8cbbeb4 Get a basic end-to-end test for rust-analyzer integration working
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2021-10-25 18:11:52 +02:00
Antonio ScandurraandNathan Sobo 084858d069 Uncomment script/bundle lines
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-10-25 17:35:45 +02:00
Antonio Scandurra 3354e4a5de Implement a more robust way of locating rust-analyzer
When bundled, we will retrieve it out of the `Resources` folder.
Locally, we're expected to run `script/download-rust-analyzer` and
put `vendor/bin` in our $PATH.
2021-10-25 11:02:35 +02:00
Max Brunsfeld 9232abbaf4 Fix path to zed crate in script/bundle 2021-10-05 10:46:59 -07:00
Nathan Sobo c125f9c854 Notarize DMG with Apple 2021-09-10 23:15:23 -06:00
Nathan Sobo 412d8e7e2e Tweak order 2021-09-10 22:51:45 -06:00
Nathan Sobo 644ba81db6 Perform code signing with Apple-issued certificate on CI 2021-09-10 22:07:20 -06:00
Nathan Sobo 466bf44fea Install cargo-bundle if needed in script/bundle 2021-05-17 17:57:50 -06:00
Nathan Sobo 0f0ec0f275 Ad hoc code-sign the app bundle
Apparently this is necessary to run on the M1 macs
2021-05-04 17:29:39 -06:00
Nathan Sobo f01724b782 Create the bundle as a "fat binary" supporting the M1 2021-05-04 17:18:25 -06:00
Nathan Sobo ffde8dac43 Create and upload a DMG 2021-05-04 17:18:25 -06:00
Nathan Sobo ea5abbbcb8 Add script/bundle, which creates a macOS app bundle 2021-05-04 17:18:25 -06:00