diff --git a/format_files.sh b/format_files.sh new file mode 100755 index 0000000..8a54dc6 --- /dev/null +++ b/format_files.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +echo "Formatting include/*, src/*, test/*" +find include -iname *.hpp -o -iname *.h -o -iname *.cpp | xargs clang-format-15 -i +find src -iname *.hpp -o -iname *.h -o -iname *.cpp | xargs clang-format-15 -i +find test -iname *.hpp -o -iname *.h -o -iname *.cpp | xargs clang-format-15 -i