Commit Graph
59 Commits
Author SHA1 Message Date
Max BrunsfeldandMikayla 2cbfe91f84 Rename zed2 -> zed
Co-authored-by: Mikayla <mikayla@zed.dev>
2024-01-03 10:14:19 -08:00
Max BrunsfeldandMikayla aba7e5845c Allow bundling in debug mode with both architectures
Co-authored-by: Mikayla <mikayla@zed.dev>
2023-11-20 11:00:12 -08:00
Mikayla 9895676841 WIP 2023-11-20 10:34:22 -08:00
Mikayla Maki 2a9943ec14 Revert changes 2023-11-18 16:37:34 -08:00
Mikayla Maki 5385ce9540 Update bundle 2023-11-18 13:06:23 -08:00
Mikayla Maki 7bf4de3275 Update bundle 2023-11-18 11:50:54 -08:00
Mikayla 1d22898daa please work 2023-11-18 10:46:35 -08:00
Mikayla 7765d2c30d Fix bundling again 2023-11-17 18:27:11 -08:00
Mikayla fccac672b6 Remove CLI from zed2 (for now) 2023-11-17 18:09:42 -08:00
Mikayla 6790eee33b Fix bundle script 2023-11-17 17:44:41 -08:00
Piotr Osiewicz 25bf3ad8f4 chore: Run multitarget build in script/bundle (#3241)
Ignore this PR for now.

This has a chance to speed up a build in case where e.g. we're
single-threaded in aarch64 build; at that point the x86_64 codegen can
take place. Also, MIR can probably be shared between the two
architectures, further reducing build time.

Release Notes:
- N/A
2023-11-07 17:00:36 +01:00
Conrad Irwin 39fc3505ee Tidy up a bit better 2023-11-06 10:37:35 -07:00
Conrad Irwin 2d7daae4a0 Use notarytool to bundle 2023-11-06 09:38:09 -07:00
Piotr Osiewicz e75bdd4907 chore: Run multitarget build in script/bundle
This has a chance to speed up a build in case where e.g. we're single-threaded in aarch64 build; at that point the x86_64 codegen can take place. Also, MIR can probably be shared between the two architectures, further reducing build time.
2023-11-06 17:21:34 +01:00
Conrad Irwin 25bc064a52 Try more signing 2023-10-26 18:27:33 +02:00
Conrad Irwin 925986cc1f Provisioning profiles for stable and preview 2023-10-16 20:38:10 -06:00
Conrad Irwin e26c4ef9f6 deep considered harmful 2023-10-11 15:17:46 -06:00
Conrad Irwin 3f388b7369 New entitlements:
* Universal links
* Shared keychain group (to make development easier)
2023-10-11 09:36:12 -06:00
Conrad Irwin 925afa67d0 Fix ./script/bundle to allow passing key 2023-10-09 08:59:25 -06:00
Mikayla c5e9730e95 make bundle script incremental when using debug or local builds 2023-10-05 16:56:44 -07:00
Conrad Irwin 1d011ac00b Fix ./script/bundle -l 2023-10-05 14:55:39 -07:00
Nathan Sobo 9f46173eb2 Add -l option to build script
When you pass -l, we build for the local architecture only and copy the
resulting app bundle to /Applications. You can provide a bundle name as
an optional argument.
2023-08-28 13:32:30 -06:00
Mikayla Maki 452c62c452 Update bundle 2023-06-14 17:37:47 -07:00
Mikayla Maki 26c8dadbda Add entitlements file to bundle step 2023-06-14 17:34:48 -07:00
Mikayla Maki 8066e68b19 Switch to using new version of cargo bundle with more capabilities 2023-06-13 18:01:51 -07:00
Nathan Sobo a42c2c4a03 Update EULA 2023-04-05 08:18:51 -06:00
Nathan SoboandMax Brunsfeld 1c2361dc3b Add terms of use to DMG in the bundle script
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2023-03-13 15:47:59 -06:00
Mikayla MakiandMax e5cd53aa42 Fixes a race condition in the restart implementation
Fixes open_urls racing workspace initialization and causing a double-open (community#927)
Adds a -d flag to the bundle script to compile in debug mode

Co-Authored-by: Max <max@zed.dev>
2023-02-21 15:28:16 -08:00
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