1 2 3 4 5 6 7 8 9 10 11 12
#!/bin/sh echo "Checking tabs ..." if ! BuildTools/CheckTabs.py; then echo "Expanded tabs found. Aborting commit." exit -1 fi echo "Checking copyrights ..." if ! BuildTools/Copyrighter.py check-all-copyrights; then echo "Copyright error found. Aborting commit." exit -1