mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-24 18:10:56 -05:00
docs(contrib): Suggest cargo test -p typos-dict for dict contribs
There is no need to build the whole workspace, using `-p typos-dict` spares the contributor from needlessly building 261 crates.
This commit is contained in:
parent
5b537a0662
commit
b06b7d5e0b
1 changed files with 2 additions and 2 deletions
|
@ -45,7 +45,7 @@ Otherwise, to add to the dictionary:
|
|||
|
||||
With `cargo` and `rustfmt` installed, run
|
||||
```console
|
||||
$ SNAPSHOTS=overwrite cargo test --workspace
|
||||
$ SNAPSHOTS=overwrite cargo test -p typos-dict
|
||||
```
|
||||
(we do development-time code-gen to speed up builds)
|
||||
|
||||
|
@ -58,7 +58,7 @@ Otherwise, to add to the dictionary:
|
|||
|
||||
Run
|
||||
```console
|
||||
$ cargo test --workspace
|
||||
$ cargo test -p typos-dict
|
||||
```
|
||||
|
||||
### Process
|
||||
|
|
Loading…
Reference in a new issue