File: astyle.sh

package info (click to toggle)
openems 0.0.35+dfsg.1-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 6,288 kB
  • sloc: cpp: 40,259; yacc: 580; lex: 350; makefile: 258; sh: 169; ruby: 19
file content (4 lines) | stat: -rwxr-xr-x 212 bytes parent folder | download | duplicates (2)
1
2
3
4
#!/bin/sh

find . -type f -name \*.cpp -exec astyle --style=allman --indent=tab --indent-cases {} \;
find . -type f -name \*.h -exec astyle --style=allman --indent=tab --keep-one-line-blocks --indent-cases {} \;