Skip to content
Permalink
Browse files

Testing travis c-f :( #2

  • Loading branch information...
PJK committed Feb 2, 2019
1 parent ad7601f commit d2b777e064d15553d04d52deaa85e045f5feafd1
Showing with 8 additions and 1 deletion.
  1. +8 −1 clang-format.sh
@@ -1,3 +1,10 @@
#!/usr/bin/env bash

clang-format -style=file -i **/*.c **/*.h **/*.cpp
# TravisCI workaround to use new clang-format while avoiding painful aliasing
# into the subshell
if which clang-format-8; then
clang-format-8 -style=file -i **/*.c **/*.h **/*.cpp
else
clang-format -style=file -i **/*.c **/*.h **/*.cpp
fi

0 comments on commit d2b777e

Please sign in to comment.
You can’t perform that action at this time.