2021-09-20 22:34:08 +00:00
|
|
|
# Language ini file processor tool
|
|
|
|
|
2021-09-22 21:24:38 +00:00
|
|
|
To install Rust and cargo, [go here](https://www.rust-lang.org/learn/get-started).
|
2021-09-20 22:34:08 +00:00
|
|
|
|
2021-09-22 21:24:38 +00:00
|
|
|
To run, with rust installed, change to this Tools/langtool directory, then:
|
2021-09-20 22:34:08 +00:00
|
|
|
|
2021-09-22 21:48:40 +00:00
|
|
|
```bash
|
2021-09-20 22:34:08 +00:00
|
|
|
cargo run
|
|
|
|
```
|
|
|
|
|
2021-09-22 21:48:40 +00:00
|
|
|
(Or just move the binary out of target/ and run it directly).
|
|
|
|
|
|
|
|
To see command line usage, type:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
cargo run -- --help
|
|
|
|
```
|
|
|
|
|
2021-09-20 22:34:08 +00:00
|
|
|
To autoformat the code, use:
|
|
|
|
|
2021-09-22 21:48:40 +00:00
|
|
|
```bash
|
2021-09-20 22:34:08 +00:00
|
|
|
cargo fmt
|
|
|
|
```
|
|
|
|
|
2021-09-22 21:48:40 +00:00
|
|
|
or set up your IDE to do that (it's already pre-set-up for VS Code, if you open the langtool folder directly).
|