chundoong-lab-ta/SHPC2022/format-code.sh

6 lines
148 B
Bash
Executable File

#!/bin/bash
for file in $(find . -name "*.cu" -o -name "*.cpp" -o -name "*.h" -o -name "*.c" | grep -v "build"); do
clang-format -i $file
done