SPIRV-Cross/format_all.sh

8 строки
184 B
Bash
Executable File

#!/bin/bash
for file in spirv_*.{cpp,hpp} include/spirv_cross/*.{hpp,h} samples/cpp/*.cpp main.cpp
do
echo "Formatting file: $file ..."
clang-format -style=file -i $file
done