mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-07 20:39:04 +03:00
Add script/bundle, which creates a macOS app bundle
This commit is contained in:
parent
3d739b6621
commit
898271edfb
841
Cargo.lock
generated
841
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
14
script/bundle
Executable file
14
script/bundle
Executable file
@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
pushd zed
|
||||
cargo bundle --release
|
||||
popd
|
||||
|
||||
while getopts o flag
|
||||
do
|
||||
case "${flag}" in
|
||||
o) open target/release/bundle/osx;;
|
||||
esac
|
||||
done
|
@ -1,5 +1,6 @@
|
||||
[package]
|
||||
authors = ["Nathan Sobo <nathansobo@gmail.com>"]
|
||||
description = "The fast, collaborative code editor."
|
||||
edition = "2018"
|
||||
name = "zed"
|
||||
version = "0.1.0"
|
||||
@ -38,7 +39,13 @@ smallvec = "1.6.1"
|
||||
smol = "1.2.5"
|
||||
|
||||
[dev-dependencies]
|
||||
cargo-bundle = "0.5.0"
|
||||
env_logger = "0.8"
|
||||
serde_json = {version = "1.0.64", features = ["preserve_order"]}
|
||||
tempdir = "0.3.7"
|
||||
unindent = "0.1.7"
|
||||
|
||||
[package.metadata.bundle]
|
||||
icon = ["app-icon@2x.png", "app-icon.png"]
|
||||
identifier = "dev.zed.Zed"
|
||||
name = "Zed"
|
||||
|
BIN
zed/app-icon.png
Normal file
BIN
zed/app-icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 158 KiB |
BIN
zed/app-icon@2x.png
Normal file
BIN
zed/app-icon@2x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 579 KiB |
Loading…
Reference in New Issue
Block a user