Files
wget2/contrib/spell-checker

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