diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-08-16 18:27:12 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-08-16 22:13:30 (GMT) |
commit | 9ed3516fc091010637b7eba3678a1566507c59eb (patch) | |
tree | d6a0e3d4b1eba0fed78b8e4d70cbc4d01854b2c9 /tools/syntax | |
parent | 2c9b7fc6753f7595c7208161d1809d5f97f7ffa7 (diff) | |
download | swift-9ed3516fc091010637b7eba3678a1566507c59eb.zip swift-9ed3516fc091010637b7eba3678a1566507c59eb.tar.bz2 |
Ported CheckTabs script to Python.
Diffstat (limited to 'tools/syntax')
-rwxr-xr-x | tools/syntax/CheckTabs.sh | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/tools/syntax/CheckTabs.sh b/tools/syntax/CheckTabs.sh deleted file mode 100755 index 0c11c49..0000000 --- a/tools/syntax/CheckTabs.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env sh - -FAILING_FILES=`grep -r "^ " * | grep -E "^(\w|/)+\.(cpp|h):" | grep -E -v "^(src/(Swift/)?)?3rdParty" | grep -v "^.*moc_" | sed -e "s/:.*//" | uniq` - -if [ "$FAILING_FILES" ]; then - echo "ERROR: Found whitespace instead of tabs in the following files:" - echo "$FAILING_FILES" -fi |