Notes on how to install tools.
This commit is contained in:
parent
272a824ec4
commit
e9de975450
@ -4,11 +4,27 @@ Testing Scripts
|
|||||||
Testing scripts written in Rhai.
|
Testing scripts written in Rhai.
|
||||||
|
|
||||||
|
|
||||||
|
Install `rhai-run` Tool
|
||||||
|
-----------------------
|
||||||
|
|
||||||
|
Use the following command to install the `rhai-run` tool:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
cargo install --path . --bin rhai-run
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
How to Run
|
How to Run
|
||||||
----------
|
----------
|
||||||
|
|
||||||
Run scripts using the `rhai-run` tool:
|
Run scripts using the `rhai-run` tool:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
rhai-run ./scripts/test_script_to_run.rhai
|
||||||
|
```
|
||||||
|
|
||||||
|
or
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
cargo run --bin rhai-run ./scripts/test_script_to_run.rhai
|
cargo run --bin rhai-run ./scripts/test_script_to_run.rhai
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user