From 0d26236db2037e41d4d6c497a7bff3e1b275ad34 Mon Sep 17 00:00:00 2001 From: Yury Date: Sat, 28 Dec 2024 17:23:14 +0300 Subject: [PATCH] tune readme --- README.md | 8 ++++---- cargo-box/src/main.rs | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index eed6d590..d39cccc2 100644 --- a/README.md +++ b/README.md @@ -35,12 +35,12 @@ Run tests on your iPhone or iPad. 3. Run `cargo box devices` to find out your DEVICE_ID 4. Create `.box` file with contents: ``` -BOX_ORG_ID = unique org id, for instance org.cidre -DEVELOPMENT_TEAM = team id from steep 2 +BOX_ORG_ID = unique org id, for instance org.cidre (it may be reserved already) +DEVELOPMENT_TEAM = team id from step 2 DEVICE_ID = device id from step 3 ``` -5. Run `cargo t --target aarch64-apple-ios` -6. Run `cargo r --target aarch64-apple-ios --example` +5. Run `cargo t --target aarch64-apple-ios` (make sure you have connected and unlocked device) +6. Run `cargo r --target aarch64-apple-ios --example device-formats` ### Versioning (API Availability) diff --git a/cargo-box/src/main.rs b/cargo-box/src/main.rs index 5bc466b9..f1063b6b 100644 --- a/cargo-box/src/main.rs +++ b/cargo-box/src/main.rs @@ -31,8 +31,8 @@ enum Cmd { fn main() { // Handle different args from different calls: // - // cargo-box -> cargo-bx (no extra box) - // cargo box -> cargo-bx bx (extra box) + // cargo-box -> cargo-box (no extra box) + // cargo box -> cargo-box bx (extra box) let mut args: Vec<_> = env::args().collect(); if args.get(1).map(|v| v == "box") == Some(true) { args.remove(1);