feat(workout): unify release command surface

Route local dev, tests, production build, mobile release, mobile verification, and doctor through one Workout xtask surface, and update the canonical docs around that surface.

req: examples/001

req: examples/006

req: test/004
This commit is contained in:
slhx agent
2026-06-12 11:20:22 +02:00
parent 5a42f2664a
commit 860a4edf61
6 changed files with 70 additions and 24 deletions
+10 -7
View File
@@ -8,13 +8,16 @@ vendor work. req: examples/006
## Command surface
```sh
cargo run -p hemx-xtask -- workout-mobile release
cargo run -p hemx-xtask -- workout-mobile verify
cargo run -p hemx-xtask -- workout-mobile doctor
cargo run -p hemx-xtask -- workout dev
cargo run -p hemx-xtask -- workout test
cargo run -p hemx-xtask -- workout build
cargo run -p hemx-xtask -- workout mobile-release
cargo run -p hemx-xtask -- workout mobile-verify
cargo run -p hemx-xtask -- workout doctor
```
`release` builds `target/release/hemx-workout-example` and writes a release kit
under `target/hemx-mobile/workout` by default:
`workout mobile-release` builds `target/release/hemx-workout-example` and writes
a release kit under `target/hemx-mobile/workout` by default:
```text
target/hemx-mobile/workout/
@@ -26,8 +29,8 @@ target/hemx-mobile/workout/
ios/README.md
```
Use `verify` to check the generated kit and release binary. Use `doctor` when
you only want to see missing external inputs.
Use `workout mobile-verify` to check the generated kit and release binary. Use
`workout doctor` when you only want to see missing external inputs.
## Production configuration