Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
0f57addc1This file is pinned to the selected release. Download the original to open it in your design tool.
#!/usr/bin/env bash
set -eufo pipefail
# Usage:
#
# ./spellcheck.sh # Check Only
# ./spellcheck.sh -w # Apply Fixes
git ls-files \
--exclude-standard $(git submodule status | awk '{print ":(exclude)" $2}') \
-- ':/' \
':!*.dia' \
':!*.dxf' \
':!*.icns' \
':!*.jpg' \
':!*.png' \
':!*.svg' \
':!/.gitbugtraq' \
':!/AUTHORS.md' \
':!/dev/doxygen/Doxyfile' \
':!/libs/polyclipping/' \
':!/LICENSES/' \
':!/share/librepcb/licenses/' \
| uvx typos==1.46.0 --file-list - $@