SPIRV-Cross/format_all.sh

9 lines
224 B
Bash
Raw Normal View History

#!/bin/bash
2018-04-03 12:08:15 +00:00
#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