Skip to content

Commit

Permalink
.make#spell: simplify message, disable encoding detection, simplify w…
Browse files Browse the repository at this point in the history
…ord list, ignore resources and test outputs
  • Loading branch information
XPhyro committed Jan 30, 2024
1 parent d4c110a commit 187fe47
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/.make
Original file line number Diff line number Diff line change
Expand Up @@ -903,18 +903,20 @@ spell() {
cd .. || exit 1

printf "%s\n" \
"Checking files and files in directories for spelling mistakes:"
find '.' -type f -not -path "*/.git/*" \
"Checking for typos:"
find '.' -type f -not -name "tags" \
-not -path "*/.git/*" \
-not -path "*/rsrc/*" \
-not -path "*/lib/*" \
-not -path "*/.archived/*" \
-not -path "*/rs/*/target/*" \
-not -name "tags" \
-not -path "*/src/tests/*/out" \
-print0 \
| sort -z \
| xargs -r0 \
codespell \
-e \
--builtin "clear,rare,informal" \
-L "ans,ba,erformance,crate,doas,ond,hist" \
-L "ans,erformance,crate,ond" \
--
)
}
Expand Down

0 comments on commit 187fe47

Please sign in to comment.