1
0
mirror of https://github.com/eclipse/paho.mqtt.cpp.git synced 2025-05-11 04:22:36 +08:00
paho.mqtt.cpp/fmt.sh

9 lines
244 B
Bash
Executable File

#!/bin/bash
#
# Runs clang format over the whole project tree, excluding
# the 'externals/' and 'build/' directories.
#
find . -type d \( -path './externals' -o -path './build' \) -prune -iname '*.h' -o -iname '*.cpp' | xargs clang-format -i