feat(cli): add --release to orbital run #923

Merged
SakulFlee merged 2 commits from fix/cli-run-release into main 2026-10-24 22:27:47 +00:00

Closes #910

Adds --release to orbital run for desktop, Android, and iOS, matching orbital build.

  • Desktop: forwards --release to cargo run.
  • Android: builds and selects the release APK (also with --skip-build).
  • iOS: builds the Release configuration and locates the matching .app bundle.

Verified with cargo fmt --all -- --check, cargo clippy -p orbital-cli -- -D warnings, and orbital run --help.

Closes #910 Adds `--release` to `orbital run` for desktop, Android, and iOS, matching `orbital build`. - Desktop: forwards `--release` to `cargo run`. - Android: builds and selects the release APK (also with `--skip-build`). - iOS: builds the Release configuration and locates the matching `.app` bundle. Verified with `cargo fmt --all -- --check`, `cargo clippy -p orbital-cli -- -D warnings`, and `orbital run --help`.
feat(cli): add --release to orbital run
Some checks failed
Lint / lint (pull_request) Successful in 1m13s
PR / test (pull_request) Failing after 4m49s
Templates / templates (pull_request) Failing after 14m13s
1b1d6c63f4
Propagate release mode through desktop, Android, and iOS run paths so they build and launch the matching artifact.

Smart test results

Result: FAIL

Failure: doctest command failed

Scope: orbital-cli

Reason: directly changed crates

Elapsed: 1m 36s

Workflow run

Overall: 0 tests, 0 passed, 0 failed, 0 skipped

Nextest: no tests reported
Doctests: command failed (no test report)

Doctest output tail
warning: Cargo.toml: `lints.clippy.large-enum-variant` is deprecated in favor of `lints.clippy.large_enum_variant` and will not work in a future edition
warning: Cargo.toml: `lints.clippy.map-entry` is deprecated in favor of `lints.clippy.map_entry` and will not work in a future edition
warning: Cargo.toml: `lints.clippy.match-wildcard-for-single-variants` is deprecated in favor of `lints.clippy.match_wildcard_for_single_variants` and will not work in a future edition
warning: Cargo.toml: `lints.clippy.redundant-closure-for-method-calls` is deprecated in favor of `lints.clippy.redundant_closure_for_method_calls` and will not work in a future edition
warning: Cargo.toml: `lints.clippy.trivially-copy-pass-by-ref` is deprecated in favor of `lints.clippy.trivially_copy_pass_by_ref` and will not work in a future edition
warning: Cargo.toml: `lints.clippy.type-complexity` is deprecated in favor of `lints.clippy.type_complexity` and will not work in a future edition
warning: workspace (manifest) generated 6 warnings
error: no library targets found in package `orbital-cli`
<!-- orbital-ci-test-results --> ## Smart test results **Result:** FAIL **Failure:** doctest command failed **Scope:** orbital-cli **Reason:** directly changed crates **Elapsed:** 1m 36s [Workflow run](https://forgejo.sakul-flee.de/SakulFlee/Orbital/actions/runs/541) **Overall:** 0 tests, 0 passed, 0 failed, 0 skipped **Nextest:** no tests reported **Doctests:** command failed (no test report) <details> <summary>Doctest output tail</summary> <pre><code>warning: Cargo.toml: `lints.clippy.large-enum-variant` is deprecated in favor of `lints.clippy.large_enum_variant` and will not work in a future edition warning: Cargo.toml: `lints.clippy.map-entry` is deprecated in favor of `lints.clippy.map_entry` and will not work in a future edition warning: Cargo.toml: `lints.clippy.match-wildcard-for-single-variants` is deprecated in favor of `lints.clippy.match_wildcard_for_single_variants` and will not work in a future edition warning: Cargo.toml: `lints.clippy.redundant-closure-for-method-calls` is deprecated in favor of `lints.clippy.redundant_closure_for_method_calls` and will not work in a future edition warning: Cargo.toml: `lints.clippy.trivially-copy-pass-by-ref` is deprecated in favor of `lints.clippy.trivially_copy_pass_by_ref` and will not work in a future edition warning: Cargo.toml: `lints.clippy.type-complexity` is deprecated in favor of `lints.clippy.type_complexity` and will not work in a future edition warning: workspace (manifest) generated 6 warnings error: no library targets found in package `orbital-cli` </code></pre> </details>
SakulFlee force-pushed fix/cli-run-release from 1b1d6c63f4
Some checks failed
Lint / lint (pull_request) Successful in 1m13s
PR / test (pull_request) Failing after 4m49s
Templates / templates (pull_request) Failing after 14m13s
to 3c5d977cb9
Some checks failed
PR / test (pull_request) Failing after 2s
Lint / lint (pull_request) Failing after 2s
Templates / templates (pull_request) Failing after 1s
2026-10-24 19:21:58 +00:00
Compare
SakulFlee force-pushed fix/cli-run-release from 3c5d977cb9
Some checks failed
PR / test (pull_request) Failing after 2s
Lint / lint (pull_request) Failing after 2s
Templates / templates (pull_request) Failing after 1s
to e2a5316c87
Some checks failed
PR / test (pull_request) Failing after 1s
Lint / lint (pull_request) Failing after 2s
Templates / templates (pull_request) Failing after 1s
2026-10-24 19:26:04 +00:00
Compare
SakulFlee deleted branch fix/cli-run-release 2026-10-24 22:27:47 +00:00
Sign in to join this conversation.
No description provided.