mirror of
https://github.com/curl/curl.git
synced 2026-06-07 01:44:16 +03:00
move codespell to a script
This commit is contained in:
parent
70e4cdd6e5
commit
7f4e2ea9f9
2 changed files with 23 additions and 10 deletions
22
.github/scripts/codespell.sh
vendored
Executable file
22
.github/scripts/codespell.sh
vendored
Executable file
|
|
@ -0,0 +1,22 @@
|
|||
#!/bin/sh
|
||||
# Copyright (C) Viktor Szakats
|
||||
#
|
||||
# SPDX-License-Identifier: curl
|
||||
|
||||
set -eu
|
||||
|
||||
cd "$(dirname "${0}")"/../..
|
||||
|
||||
codespell --version
|
||||
# shellcheck disable=SC2046
|
||||
codespell \
|
||||
--skip '*/spellcheck.words' \
|
||||
--skip '*/typos.toml' \
|
||||
--skip '*/THANKS' \
|
||||
--skip '*/mk-ca-bundle.pl' \
|
||||
--skip '*/wcurl' \
|
||||
--skip '*/tool_hugehelp.c' \
|
||||
--skip 'packages/*' \
|
||||
--skip '*/test*' \
|
||||
--ignore-words '.github/scripts/codespell-ignore.txt' \
|
||||
$(git ls-files)
|
||||
Loading…
Add table
Add a link
Reference in a new issue