Fix scripts.

This commit is contained in:
Stephen Chung
2021-04-16 10:33:55 +08:00
parent 8da4c0c2b2
commit c5128e15d5
3 changed files with 10 additions and 15 deletions

View File

@@ -7,14 +7,8 @@ Testing scripts written in Rhai.
How to Run
----------
Compile the `rhai-run` example:
Run scripts using the `rhai-run` tool:
```bash
cargo build --example rhai-run
```
Run it:
```bash
./target/debug/examples/rhai-run ./scripts/test_script_to_run.rhai
```sh
cargo run --bin rhai-run ./scripts/test_script_to_run.rhai
```