1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-16 11:29:54 +00:00
openmw/CI/check_tabs.sh

9 lines
193 B
Bash
Executable file

#!/bin/bash
OUTPUT=$(grep -nRP '\t' --include=\*.{cpp,hpp,c,h} --exclude=ui_\* apps components)
if [[ $OUTPUT ]] ; then
echo "Error: Tab characters found!"
echo $OUTPUT
exit 1
fi