bgfx/3rdparty/spirv-cross/format_all.sh

9 lines
224 B
Bash
Raw Normal View History

2019-01-10 06:23:47 +03:00
#!/bin/bash
#for file in spirv_*.{cpp,hpp} include/spirv_cross/*.{hpp,h} samples/cpp/*.cpp main.cpp
for file in spirv_*.{cpp,hpp} main.cpp
do
echo "Formatting file: $file ..."
clang-format -style=file -i $file
done