mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-11 22:10:09 +01:00
doc: some errors
This commit is contained in:
parent
49f54bb03f
commit
c7e2c52068
1 changed files with 2 additions and 2 deletions
4
rules.md
4
rules.md
|
|
@ -1,6 +1,6 @@
|
|||
## Writing Rules
|
||||
|
||||
Rule files placed at [rules](./rules) in the project directory are parsed at compilation, everything is parsed to Rust code before compiling. You don't have to know the project structure nor Rust to write blazing fast rules!
|
||||
Rule files placed under [rules](./rules) in the project directory are parsed at compilation, everything is parsed to Rust code before compiling. You don't have to know the project structure nor Rust to write blazing fast rules!
|
||||
|
||||
For compile-time rules, 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
|
||||
|
|
@ -39,7 +39,7 @@ pattern = [
|
|||
"pattern 1"
|
||||
]
|
||||
# this will add a `sudo` before the command if:
|
||||
# - the `sudo` is found by `command -v`
|
||||
# - the `sudo` is found by `which`
|
||||
# - the last command does not contain `sudo`
|
||||
suggest = [
|
||||
'''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue