Files
godot/misc/scripts/codespell.sh
T
Rémi Verschelde 47b3f95874 CI: Make codespell checks blocking, but only check changed files
(cherry picked from commit b226f7e587c4b5093d7bf27a4b0ac687a2d1cd2e)
2023-05-12 13:56:49 +02:00

9 lines
557 B
Bash
Executable File

#!/bin/sh
SKIP_LIST="./.*,./**/.*,./bin,./thirdparty,*.desktop,*.gen.*,*.po,*.pot,*.rc,./AUTHORS.md,./COPYRIGHT.txt,./DONORS.md,"
SKIP_LIST+="./core/input/gamecontrollerdb.txt,./core/string/locales.h,./editor/renames_map_3_to_4.cpp,./misc/scripts/codespell.sh,"
SKIP_LIST+="./platform/android/java/lib/src/com,./platform/web/node_modules,./platform/web/package-lock.json,"
IGNORE_LIST="curvelinear,doubleclick,expct,findn,gird,hel,inout,lod,nd,numer,ot,te,vai"
codespell -w -q 3 -S "${SKIP_LIST}" -L "${IGNORE_LIST}" --builtin "clear,rare,en-GB_to_en-US"