File: apply-clang-format

package info (click to toggle)
dustrac 2.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 28,396 kB
  • sloc: cpp: 43,805; ansic: 30,075; sh: 121; xml: 79; python: 33; makefile: 11
file content (9 lines) | stat: -rwxr-xr-x 237 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
#!/bin/bash

CLANG_FORMAT=clang-format

FILES=$(find src/editor src/game src/common -name *hpp -or -name *cpp -or -name *hh -or -name *cc -or -name *h | grep -v moc_ | grep -v qrc_)
${CLANG_FORMAT} -i -style=file ${FILES}

echo "Done."