Don't make -l imply -d in bundle-mac script (#10438)

If you want a debug build, you can easily pass `-ld`.

Release Notes:

- N/A
This commit is contained in:
Nathan Sobo 2024-04-15 13:29:45 -07:00 committed by GitHub
parent 0c77e1ce45
commit 4f776f9ebe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,7 +24,7 @@ Build the application bundle for macOS.
Options:
-d Compile in debug mode
-l Compile for local architecture and copy bundle to /Applications, implies -d.
-l Compile for local architecture and copy bundle to /Applications.
-o Open dir with the resulting DMG or launch the app itself in local mode.
-i Install the resulting DMG into /Applications in local mode. Noop without -l.
-h Display this help and exit.
@ -44,10 +44,8 @@ do
l)
export CARGO_INCREMENTAL=true
export CARGO_BUNDLE_SKIP_BUILD=true
build_flag=""
local_arch=true
local_only=true
target_dir="debug"
;;
i) local_install=true;;
h)