From b06b7d5e0b8dff89253161890578edfb39f216e1 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Fri, 11 Aug 2023 13:39:22 +0200 Subject: [PATCH] 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. --- CONTRIBUTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index af91ab8..a15936d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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