Skip to content
Snippets Groups Projects
Forked from pregmodfan / fc-pregmod
36003 commits behind the upstream repository.
fixSpellingMistakes 278 B
#!/bin/bash
if [ ! -d ".git" ]; then
	#not running in git repo, so can't use git commands :-)
	echo "No .git repo found - skipping sanity checks"
	exit 0
fi

git ls-files  -z src/*.tw | grep -z -v .min.tw | grep -z -v setupVars.tw | xargs -0 sed -i -f devTools/spell_check.txt