mirror of
https://gitlab.com/gnuwget/wget2.git
synced 2026-02-01 14:41:08 +00:00
15 lines
499 B
Bash
Executable File
15 lines
499 B
Bash
Executable File
#!/usr/bin/env bash
|
|
#
|
|
# see https://github.com/codespell-project/codespell
|
|
#
|
|
# in short:
|
|
# - pip install codespell
|
|
# - add ~/.local/bin to PATH
|
|
|
|
set -e
|
|
|
|
codespell "$@" -L "tim,gonna,cas,referer,fpr,vas" $(git ls-files|\
|
|
grep -E -v '_fuzzer.in|_fuzzer.repro|\.der$|\.pem$|gnulib|ChangeLog|tests/gpg|\.png$|\.dat$|src/wget.c|contrib/spell-checker|tests/certs/ocsp/generate_certs.sh|tests/certs/README.md')
|
|
|
|
codespell "$@" -L "tim,gonna,cas,te,referer,ist,fpr,vas" src/wget.c contrib/spell-checker
|