Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 11 lines (8 sloc) 270 Bytes
#!/usr/bin/env bash
# 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
You can’t perform that action at this time.