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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user