rhai/scripts/README.md
2021-04-20 11:06:05 +08:00

31 lines
416 B
Markdown

Testing Scripts
===============
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
----------
Run scripts using the `rhai-run` tool:
```sh
rhai-run ./scripts/test_script_to_run.rhai
```
or
```sh
cargo run --bin rhai-run ./scripts/test_script_to_run.rhai
```