mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2026-02-02 07:35:10 +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
|
## 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:
|
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
|
```shell
|
||||||
|
|
@ -39,7 +39,7 @@ pattern = [
|
||||||
"pattern 1"
|
"pattern 1"
|
||||||
]
|
]
|
||||||
# this will add a `sudo` before the command if:
|
# 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`
|
# - the last command does not contain `sudo`
|
||||||
suggest = [
|
suggest = [
|
||||||
'''
|
'''
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue