Fix names and paths in usage docs
This commit is contained in:
parent
4b89e781b0
commit
38fc390e10
|
@ -38,12 +38,12 @@ $ cd canary-rs
|
||||||
|
|
||||||
Then, run `cargo` to build the sandbox package:
|
Then, run `cargo` to build the sandbox package:
|
||||||
```sh
|
```sh
|
||||||
$ cargo build --release -p canary_sandbox
|
$ cargo build --release -p canary-sandbox
|
||||||
```
|
```
|
||||||
|
|
||||||
Now, the sandbox can be ran with a script:
|
Now, the sandbox can be ran with a script:
|
||||||
```sh
|
```sh
|
||||||
$ cargo run --release -p canary_sandbox -- <path-to-script>
|
$ cargo run --release -p canary-sandbox -- <path-to-script>
|
||||||
```
|
```
|
||||||
|
|
||||||
## (Optional) Building the Sword Art Online demonstration UI script
|
## (Optional) Building the Sword Art Online demonstration UI script
|
||||||
|
@ -62,13 +62,13 @@ $ rustup target add wasm32-unknown-unknown
|
||||||
|
|
||||||
Next, compile the example script:
|
Next, compile the example script:
|
||||||
```sh
|
```sh
|
||||||
$ cargo build --release -p sao-ui-rs --target wasm32-unknown-unknown
|
$ cargo build --release -p canary-sao-ui --target wasm32-unknown-unknown
|
||||||
```
|
```
|
||||||
|
|
||||||
The path to the built example script is `target/wasm32-unknown-unknown/release/sao_ui_rs.wasm`.
|
The path to the built example script is `target/wasm32-unknown-unknown/release/canary_sao_ui.wasm`.
|
||||||
Now it can be run using the sandbox:
|
Now it can be run using the sandbox:
|
||||||
```sh
|
```sh
|
||||||
$ cargo run --release -p canary_sandbox -- target/wasm32-unknown-unknown/release/sao_ui_rs.wasm
|
$ cargo run --release -p canary-sandbox -- target/wasm32-unknown-unknown/release/canary_sao_ui.wasm
|
||||||
```
|
```
|
||||||
|
|
||||||
# Using `canary-rs` as a Rust library
|
# Using `canary-rs` as a Rust library
|
||||||
|
|
Loading…
Reference in New Issue