mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-11 22:10:09 +01:00
refactor: separating compile-time rules
This commit is contained in:
parent
88d734e9ad
commit
6e4d975283
4 changed files with 21 additions and 19 deletions
|
|
@ -70,7 +70,7 @@ Rule files are parsed at compilation. Everything in rule files is converted to R
|
|||
|
||||
If only rules are changed, cargo won't recompile the project because Rust code were intact. You will have to notify it manually by:
|
||||
```shell
|
||||
touch src/suggestions.rs && cargo build
|
||||
touch src/rules.rs && cargo build
|
||||
```
|
||||
|
||||
Syntax of a rule file (will be read by simply placing the file under [rules](./rules)):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue