2022-02-10 19:00:11 +08:00
|
|
|
#!/bin/sh
|
2023-02-01 17:49:05 +08:00
|
|
|
SKIP_LIST="./.*,./**/.*,./bin,./thirdparty,*.desktop,*.gen.*,*.po,*.pot,*.rc,./AUTHORS.md,./COPYRIGHT.txt,./DONORS.md,"
|
2023-02-28 20:38:01 +08:00
|
|
|
SKIP_LIST+="./core/input/gamecontrollerdb.txt,./core/string/locales.h,./editor/renames_map_3_to_4.cpp,./misc/scripts/codespell.sh,"
|
2023-02-01 15:45:41 +08:00
|
|
|
SKIP_LIST+="./platform/android/java/lib/src/com,./platform/web/node_modules,./platform/web/package-lock.json,"
|
|
|
|
|
2023-05-08 17:28:34 +08:00
|
|
|
IGNORE_LIST="curvelinear,doubleclick,expct,findn,gird,hel,inout,lod,nd,numer,ot,te,vai"
|
2022-02-10 19:00:11 +08:00
|
|
|
|
2023-01-21 19:25:29 +08:00
|
|
|
codespell -w -q 3 -S "${SKIP_LIST}" -L "${IGNORE_LIST}" --builtin "clear,rare,en-GB_to_en-US"
|