mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:41:40 +03:00
badwords: move into ./scripts, speed up
- 'badwords' is now a target in Makefile.am - change badwords.txt to specify plain "words" instead of regexes so the script can build single regexes when scanning, which makes the script perform much faster (~6 times faster) Closes #20869
This commit is contained in:
parent
248dd9e55f
commit
713287188e
7 changed files with 123 additions and 78 deletions
|
|
@ -181,3 +181,7 @@ tidy:
|
|||
|
||||
clean-local:
|
||||
(cd tests && $(MAKE) clean)
|
||||
|
||||
badwords:
|
||||
grep -Ev '^(will:|But=|So=|And=| url=)' ./scripts/badwords.txt | ./scripts/badwords -a src lib include docs/examples
|
||||
./scripts/badwords -w ./scripts/badwords.ok '**.md' projects/OS400/README.OS400 < ./scripts/badwords.txt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue