summaryrefslogtreecommitdiff
path: root/openEMS/astyle.sh
blob: 2c8bd415cd6923fc16a2ad5a9280a5f42b993b99 (plain)
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 {} \;