SPIRV-Cross/format_all.sh

11 lines
307 B
Bash
Raw Normal View History

#!/bin/bash
2021-05-08 08:24:34 +00:00
# Copyright 2016-2021 The Khronos Group Inc.
# SPDX-License-Identifier: Apache-2.0
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