]> git.sur5r.net Git - i3/i3/blob - travis/check-formatting.sh
travis/cleanup-bintray: use dpkg --compare-versions (#2453)
[i3/i3] / travis / check-formatting.sh
1 #!/bin/sh
2
3 set -e
4 set -x
5
6 clang-format-3.5 -i $(find . -name "*.[ch]" | tr '\n' ' ') && git diff --exit-code || (echo 'Code was not formatted using clang-format!'; false)