21 lines
265 B
Markdown
21 lines
265 B
Markdown
|
Testing Scripts
|
||
|
===============
|
||
|
|
||
|
Testing scripts written in Rhai.
|
||
|
|
||
|
|
||
|
How to Run
|
||
|
----------
|
||
|
|
||
|
Compile the `rhai_runner` example:
|
||
|
|
||
|
```bash
|
||
|
cargo build --example rhai_runner
|
||
|
```
|
||
|
|
||
|
Run it:
|
||
|
|
||
|
```bash
|
||
|
./target/debug/examples/rhai_runner ./scripts/test_script_to_run.rhai
|
||
|
```
|