File: fmt.sh

package info (click to toggle)
paho.mqtt.cpp 1.5.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,672 kB
  • sloc: cpp: 13,068; ansic: 113; sh: 55; makefile: 22
file content (8 lines) | stat: -rwxr-xr-x 244 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
#!/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