Files
pip/3rd/paho.mqtt.c/fmt.sh

8 lines
198 B
Bash

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