Fix ./script/bundle -l
This commit is contained in:
parent
a63eccf188
commit
b258ee5f77
2 changed files with 3 additions and 3 deletions
|
@ -156,7 +156,7 @@ workspace = { path = "../workspace", features = ["test-support"] }
|
||||||
|
|
||||||
unindent.workspace = true
|
unindent.workspace = true
|
||||||
|
|
||||||
[package.metadata.bundle-dev]
|
[package.metadata.bundle]
|
||||||
icon = ["resources/app-icon-preview@2x.png", "resources/app-icon-preview.png"]
|
icon = ["resources/app-icon-preview@2x.png", "resources/app-icon-preview.png"]
|
||||||
identifier = "dev.zed.Zed-Dev"
|
identifier = "dev.zed.Zed-Dev"
|
||||||
name = "Zed Dev"
|
name = "Zed Dev"
|
||||||
|
|
|
@ -16,7 +16,7 @@ Usage: ${0##*/} [options] [bundle_name]
|
||||||
Build the application bundle.
|
Build the application bundle.
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
-d Compile in debug mode and print the app bundle's path.
|
-d Compile in debug mode (doesn't currently work without -l)
|
||||||
-l Compile for local architecture only and copy bundle to /Applications.
|
-l Compile for local architecture only and copy bundle to /Applications.
|
||||||
-o Open the resulting DMG or the app itself in local mode.
|
-o Open the resulting DMG or the app itself in local mode.
|
||||||
-f Overwrite the local app bundle if it exists.
|
-f Overwrite the local app bundle if it exists.
|
||||||
|
@ -92,7 +92,7 @@ sed \
|
||||||
Cargo.toml
|
Cargo.toml
|
||||||
|
|
||||||
if [ "$local_only" = true ]; then
|
if [ "$local_only" = true ]; then
|
||||||
app_path=$(cargo bundle ${build_flag} --select-workspace-root | xargs)
|
app_path=$(cargo bundle ${build_flag} --target "$local_target_triple" --select-workspace-root | xargs)
|
||||||
else
|
else
|
||||||
app_path=$(cargo bundle ${build_flag} --target x86_64-apple-darwin --select-workspace-root | xargs)
|
app_path=$(cargo bundle ${build_flag} --target x86_64-apple-darwin --select-workspace-root | xargs)
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue