Merge pull request #220 from ctiller/clang-fmt

Remove clang-format tools
pull/221/head^2
Nicolas Noble 10 years ago
commit 7bf3c45707
  1. 9
      tools/clang-format/clang-format-all.sh
  2. 11
      tools/clang-format/config.sh

@ -1,9 +0,0 @@
#!/bin/bash
set -e
source $(dirname $0)/config.sh
cd $(dirname $0)/../..
for dir in src test include
do
find $dir -name '*.c' -or -name '*.cc' -or -name '*.h' | xargs $CLANG_FORMAT -i
done

@ -1,11 +0,0 @@
CLANG_FORMAT=clang-format-3.5
set -ex
if not hash $CLANG_FORMAT 2>/dev/null; then
echo "$CLANG_FORMAT is needed but not installed"
echo "perhaps try:"
echo " sudo apt-get install $CLANG_FORMAT"
exit 1
fi
Loading…
Cancel
Save