HomieRoomSensor/host/spelling.sh

13 lines
234 B
Bash
Raw Normal View History

2021-11-15 19:03:27 +01:00
#!/bin/bash
whereis -b codespell | grep "/codespell" >> /dev/null
if [ $? -ne 0 ]; then
echo "codespell needs to be installed"
exit 1
fi
codespell -w ../src/*
codespell -w ../include/*
2021-12-06 20:18:23 +01:00
codespell -w ../*.md
codespell -w *.md
2021-11-15 19:03:27 +01:00
exit 0